Skip to content

Commit

Permalink
Fixing a few lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
llongley committed Oct 12, 2016
1 parent 89d8955 commit 4b52f1b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/js/WinJS/Controls/Flyout.js
Expand Up @@ -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
Expand All @@ -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);
}
},

Expand All @@ -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);
}
},

Expand Down

0 comments on commit 4b52f1b

Please sign in to comment.