Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
use Polymer.addEventListener/removeEventListener
Browse files Browse the repository at this point in the history
  • Loading branch information
sorvell committed Aug 5, 2014
1 parent 9588c61 commit dc7c57c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core-overlay.html
Original file line number Diff line number Diff line change
Expand Up @@ -562,14 +562,14 @@ <h2>Dialog</h2>
addElementListener: function(node, event, methodName, capture) {
var fn = this._makeBoundListener(methodName);
if (node && fn) {
node.addEventListener(event, fn, capture);
Polymer.addEventListener(node, event, fn, capture);
}
},

removeElementListener: function(node, event, methodName, capture) {
var fn = this._makeBoundListener(methodName);
if (node && fn) {
node.removeEventListener(event, fn, capture);
Polymer.removeEventListener(node, event, fn, capture);
}
},

Expand Down

0 comments on commit dc7c57c

Please sign in to comment.