Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Commit ce47d6d

Browse files
authored
Merge pull request #300 from mgiuffrida/patch-2
Update deprecated function call
2 parents 4f0a4fa + 95a7207 commit ce47d6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iron-overlay-manager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export class IronOverlayManagerClass {
4646
// NOTE: enable tap on <html> to workaround Polymer/polymer#4459
4747
// Pass no-op function because MSEdge 15 doesn't handle null as 2nd argument
4848
// https://github.com/Microsoft/ChakraCore/issues/3863
49-
gestures.add(document.documentElement, 'tap', function() {});
49+
gestures.addListener(document.documentElement, 'tap', function() {});
5050
document.addEventListener('tap', this._onCaptureClick.bind(this), true);
5151
document.addEventListener('focus', this._onCaptureFocus.bind(this), true);
5252
document.addEventListener(

0 commit comments

Comments
 (0)