Skip to content

Commit

Permalink
Wrap mm-tab callback call inside async()
Browse files Browse the repository at this point in the history
  • Loading branch information
Shuwen Qian committed Oct 5, 2015
1 parent ad3911a commit b99d2a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mm-tab/mm-tab.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
var instance = this.stamp();
Polymer.dom(this).appendChild(instance.root);

if(this._callback) this._callback(instance);
if(this._callback) this.async(this._callback.bind(this,instance));

this._contentLoaded = true;

Expand Down

0 comments on commit b99d2a5

Please sign in to comment.