fix double metadata load
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
|
||||
load: function (callback, sync) {
|
||||
var sync = (typeof sync == 'undefined') ? false: sync;
|
||||
this.off('sync');
|
||||
this.once('sync', callback);
|
||||
if (!this.loadFromCache()) {
|
||||
this.fetch(sync);
|
||||
|
||||
Reference in New Issue
Block a user