We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75e3a18 commit 3088f69Copy full SHA for 3088f69
Ajax/common/traits/JsUtilsInternalTrait.php
@@ -27,14 +27,14 @@ protected function _compileLibrary(BaseGui $library, &$view = NULL) {
27
}
28
29
protected function defer($script) {
30
- $result = "window.defer=function (method) {if (window.jQuery) method(); else setTimeout(function() { defer(method) }, 50);};";
31
- $result .= "window.defer(function(){" . $script . "})";
+ $result = "window.defer=function (method) {if (window.jQuery) method(); else setTimeout(function() { window.defer(method); }, 50);};";
+ $result .= "window.defer(function(){" . $script . "});";
32
return $result;
33
34
35
protected function ready($script) {
36
- $result = '$(document).ready(function() {' . "\n";
37
- $result .= $script . '})';
+ $result = '$(function() {' . "\n";
+ $result .= $script . '});';
38
39
40
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments