Skip to content

Commit

Permalink
Fix downgrade event firing (bug introduced in #4191)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sérgio Gomes committed Mar 21, 2016
1 parent 3d97a05 commit 351d984
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mdlComponentHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ componentHandler = (function() {
ev = document.createEvent('Events');
ev.initEvent('mdl-componentdowngraded', true, true);
}
component.element_.dispatchEvent(ev);
}
}

Expand Down

0 comments on commit 351d984

Please sign in to comment.