diff --git a/src/jquery.fs.boxer.js b/src/jquery.fs.boxer.js index 1e8a2d3..f250774 100644 --- a/src/jquery.fs.boxer.js +++ b/src/jquery.fs.boxer.js @@ -44,7 +44,7 @@ margin: 50, minHeight: 100, minWidth: 100, - mobile: false, + mobile: null, opacity: 0.75, retina: false, requestKey: "boxer", @@ -192,7 +192,7 @@ gallery: { active: false }, - isMobile: (trueMobile || e.data.mobile), + isMobile: typeof(e.data.mobile) == 'boolean' ? e.data.mobile : trueMobile, isAnimating: true, oldContentHeight: 0, oldContentWidth: 0 @@ -1220,4 +1220,4 @@ } } }; -})(jQuery, window); \ No newline at end of file +})(jQuery, window);