From 4b52f1b6d3cecaa85755baa2196d9e4d1e59302b Mon Sep 17 00:00:00 2001 From: Luke Longley Date: Tue, 11 Oct 2016 18:19:11 -0700 Subject: [PATCH] Fixing a few lint errors --- src/js/WinJS/Controls/Flyout.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/js/WinJS/Controls/Flyout.js b/src/js/WinJS/Controls/Flyout.js index 22f3c1d8a..0db6163ed 100644 --- a/src/js/WinJS/Controls/Flyout.js +++ b/src/js/WinJS/Controls/Flyout.js @@ -1369,7 +1369,7 @@ define([ return; } - if (typeof this._currentPosition != 'undefined') { + if (typeof this._currentPosition !== 'undefined') { // May need to adjust top by viewport offset if (this._currentPosition.top < 0) { // Need to attach to bottom @@ -1390,7 +1390,7 @@ define([ } else { this._element.style.opacity = 1; this._element.style.visibility = "visible"; - return Animations.showPopup(this._element, (typeof this._currentPosition != 'undefined') ? this._currentPosition.animOffset : 0); + return Animations.showPopup(this._element, (typeof this._currentPosition !== 'undefined') ? this._currentPosition.animOffset : 0); } }, @@ -1399,7 +1399,7 @@ define([ return this._baseAnimateOut(); } else { this._element.style.opacity = 0; - return Animations.hidePopup(this._element, (typeof this._currentPosition != 'undefined') ? this._currentPosition.animOffset : 0); + return Animations.hidePopup(this._element, (typeof this._currentPosition !== 'undefined') ? this._currentPosition.animOffset : 0); } },