Roo.js
authorjohn <john@roojs.com>
Mon, 15 Oct 2018 07:41:02 +0000 (15:41 +0800)
committerjohn <john@roojs.com>
Mon, 15 Oct 2018 07:41:02 +0000 (15:41 +0800)
roojs-bootstrap.js
roojs-bootstrap-debug.js

Roo.js

diff --git a/Roo.js b/Roo.js
index 3a75d79..3966223 100644 (file)
--- a/Roo.js
+++ b/Roo.js
@@ -343,7 +343,7 @@ Roo.factory(conf, Roo.data);
                 return; // alerT?
             }
             
-            if(window.location.href.indexOf("localhost") == -1) {
+            if(window.location.href.indexOf("localhost") !== -1) {
                 return;
             }