dever %!s(int64=7) %!d(string=hai) anos
pai
achega
acebb9341c
Modificáronse 1 ficheiros con 3 adicións e 4 borrados
  1. 3 4
      front/static/document.js

+ 3 - 4
front/static/document.js

@@ -93,7 +93,7 @@ var Document =
         document.getElementsByTagName('head')[0].appendChild(link);
         if (link.readyState) {
             link.onreadystatechange=function() {
-                if (link.readyState == 'complete'|| link.readyState == 'loaded') {
+                if (link.readyState == 'complete' || link.readyState == 'loaded') {
                     link.onreadystatechange = null;
                     callback();
                 }
@@ -137,9 +137,8 @@ var Document =
                     }
                 });
             };
-
-            self.Css(css, callback);
-
+            callback();
+            //self.Css(css, callback);
         });
     }