2
0
Selaa lähdekoodia

boot.js: jQuery.allowJavaScriptCalls fix

Herbert Vojčík 11 vuotta sitten
vanhempi
commit
09f5afb82f
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  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;