зеркало из https://github.com/nextcloud/news.git
get rid of extra document line
This commit is contained in:
Родитель
d443d4cf18
Коммит
3d5761ff93
|
@ -97,9 +97,7 @@ Inside your script you have to make sure that the News app is active. You can do
|
|||
(function ($, window, undefined) {
|
||||
'use strict';
|
||||
|
||||
var document = window.document;
|
||||
|
||||
$(document).ready(function () {
|
||||
$(window.document).ready(function () {
|
||||
if ($('[ng-app="News"]').length > 0) {
|
||||
|
||||
// your code here
|
||||
|
|
Загрузка…
Ссылка в новой задаче