diff --git a/jquery.ruler.js b/jquery.ruler.js
index d42d3a2..4fc5e17 100644
--- a/jquery.ruler.js
+++ b/jquery.ruler.js
@@ -25,7 +25,7 @@
hMouse = '
',
mousePosBox = 'x: 50%, y: 50%
';
- if (!Modernizr.touch) {
+ if ((!window.Modernizer) || !Modernizr.touch) {
// Mouse crosshair
if (settings.showCrosshair) {
$('body').append(vMouse, hMouse);
@@ -160,4 +160,4 @@
});//each
};//ruler
-})( jQuery );
\ No newline at end of file
+})( jQuery );