--- a/src/js/init.js Wed Dec 19 19:02:52 2012 +0100
+++ b/src/js/init.js Thu Jan 17 17:25:46 2013 +0100
@@ -104,17 +104,17 @@
});
this.$.find('.Ldt-Loader').detach();
- var endload = false;
+ this.widgetsLoaded = false;
this.on("widget-loaded", function() {
- if (endload) {
+ if (_this.widgetsLoaded) {
return;
}
var isloaded = !IriSP._(_this.widgets).any(function(w) {
return !(w && w.isLoaded())
});
if (isloaded) {
- endload = true;
+ _this.widgetsLoaded = true;
_this.trigger("widgets-loaded");
}
});