| OLD | NEW |
| 1 (function() { | 1 |
| 2 (function() { |
| 2 'use strict'; | 3 'use strict'; |
| 3 | 4 |
| 4 /** | 5 /** |
| 5 * The IronDropdownScrollManager is intended to provide a central source | 6 * The IronDropdownScrollManager is intended to provide a central source |
| 6 * of authority and control over which elements in a document are currently | 7 * of authority and control over which elements in a document are currently |
| 7 * allowed to scroll. | 8 * allowed to scroll. |
| 8 */ | 9 */ |
| 9 | 10 |
| 10 Polymer.IronDropdownScrollManager = { | 11 Polymer.IronDropdownScrollManager = { |
| 11 | 12 |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 document.body.style.overflowX = this._originalBodyStyles.overflowX; | 198 document.body.style.overflowX = this._originalBodyStyles.overflowX; |
| 198 document.body.style.overflowY = this._originalBodyStyles.overflowY; | 199 document.body.style.overflowY = this._originalBodyStyles.overflowY; |
| 199 | 200 |
| 200 window.removeEventListener('wheel', this._scrollInteractionHandler, true
); | 201 window.removeEventListener('wheel', this._scrollInteractionHandler, true
); |
| 201 window.removeEventListener('mousewheel', this._scrollInteractionHandler,
true); | 202 window.removeEventListener('mousewheel', this._scrollInteractionHandler,
true); |
| 202 window.removeEventListener('DOMMouseScroll', this._scrollInteractionHand
ler, true); | 203 window.removeEventListener('DOMMouseScroll', this._scrollInteractionHand
ler, true); |
| 203 window.removeEventListener('touchmove', this._scrollInteractionHandler,
true); | 204 window.removeEventListener('touchmove', this._scrollInteractionHandler,
true); |
| 204 document.removeEventListener('keydown', this._scrollInteractionHandler,
true); | 205 document.removeEventListener('keydown', this._scrollInteractionHandler,
true); |
| 205 } | 206 } |
| 206 }; | 207 }; |
| 207 })(); | 208 })(); |
| OLD | NEW |