I'm blaming that one on the vicodin
This commit is contained in:
parent
bad0d9f4ea
commit
830cbf0876
1 changed files with 1 additions and 2 deletions
|
|
@ -9,7 +9,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
var Diaspora = { };
|
var Diaspora = { };
|
||||||
vara = 5;
|
|
||||||
|
|
||||||
Diaspora.WidgetCollection = function() {
|
Diaspora.WidgetCollection = function() {
|
||||||
this.initialized = false;
|
this.initialized = false;
|
||||||
|
|
@ -32,7 +31,7 @@
|
||||||
this.initialized = true;
|
this.initialized = true;
|
||||||
|
|
||||||
for(var widgetId in this.collection) {
|
for(var widgetId in this.collection) {
|
||||||
if(this.collection[widgetId].hasOwnProperty("start")
|
if(this.collection[widgetId].hasOwnProperty("start")
|
||||||
|| this.collection[widgetId].__proto__.hasOwnProperty("start")) {
|
|| this.collection[widgetId].__proto__.hasOwnProperty("start")) {
|
||||||
this.collection[widgetId].start();
|
this.collection[widgetId].start();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue