We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31b801d commit d703525Copy full SHA for d703525
src/provider/application.js
@@ -77,7 +77,7 @@ class Application extends EventEmitter {
77
*/
78
imageRequestResize(event) {
79
const tgt = event.target;
80
- if (tgt.tagName === 'IMG' && !((tgt.hasAttribute && tgt.hasAttribute('height')) || (tgt.hasAttribute && tgt.hasAttribute('width')))) {
+ if (tgt.tagName === 'IMG' && !(tgt.hasAttribute('height') || tgt.hasAttribute('width'))) {
81
this.requestResize();
82
}
83
0 commit comments