From 1a0213e2506765d07955a310f5b375b3a8606374 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Sun, 23 Feb 2014 21:27:57 -0600 Subject: [PATCH] jshint '===' to compare with '0' fix --- js/ext/angular/src/directive/ionicSideMenu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ext/angular/src/directive/ionicSideMenu.js b/js/ext/angular/src/directive/ionicSideMenu.js index 7774f8c7868..fc18bef239f 100644 --- a/js/ext/angular/src/directive/ionicSideMenu.js +++ b/js/ext/angular/src/directive/ionicSideMenu.js @@ -111,7 +111,7 @@ angular.module('ionic.ui.sideMenu', ['ionic.service.gesture', 'ionic.service.vie return $scope.sideMenuContentTranslateX || 0; }, setTranslateX: ionic.animationFrameThrottle(function(amount) { - if(amount == 0) { + if(amount === 0) { $element[0].style[ionic.CSS.TRANSFORM] = 'none'; } else { $element[0].style[ionic.CSS.TRANSFORM] = 'translate3d(' + amount + 'px, 0, 0)';