Skip to content

Commit

Permalink
Used strict inequality.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasyip committed Jan 24, 2013
1 parent a5fd12a commit 91d13cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/jqtouch.js
Expand Up @@ -477,8 +477,8 @@
function start() {
// Store some properties in a support object
if (!$.support) $.support = {};
$.support.animationEvents = (typeof window.WebKitAnimationEvent != 'undefined');
$.support.touch = (typeof window.TouchEvent != 'undefined') && (window.navigator.userAgent.indexOf('Mobile') > -1) && jQTSettings.useFastTouch;
$.support.animationEvents = (typeof window.WebKitAnimationEvent !== 'undefined');
$.support.touch = (typeof window.TouchEvent !== 'undefined') && (window.navigator.userAgent.indexOf('Mobile') > -1) && jQTSettings.useFastTouch;
$.support.transform3d = supportForTransform3d();
$.support.ios5 = supportIOS5();

Expand Down Expand Up @@ -587,7 +587,7 @@

var settings = $.extend({}, defaults, options);

if (href != '#') {
if (href !== '#') {
$.ajax({
url: href,
data: settings.data,
Expand Down

0 comments on commit 91d13cc

Please sign in to comment.