2
0
Pārlūkot izejas kodu

boot.js: jQuery.allowJavaScriptCalls fix

Herbert Vojčík 11 gadi atpakaļ
vecāks
revīzija
09f5afb82f
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      js/boot.js

+ 2 - 2
js/boot.js

@@ -979,8 +979,8 @@ function MessageSendBrik(brikz, st) {
 		return st.send(st.JSObjectProxy._on_(receiver), selector, args);
 	}
 
-	if(this.jQuery) {
-		this.jQuery.allowJavaScriptCalls = true;
+	if(typeof jQuery !== "undefined") {
+		jQuery.allowJavaScriptCalls = true;
 	}
 
 	this.messageNotUnderstood = messageNotUnderstood;