summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--js/colorbox.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/colorbox.js b/js/colorbox.js
index a8c4c87..1ed6550 100644
--- a/js/colorbox.js
+++ b/js/colorbox.js
@@ -12,6 +12,7 @@
// Disable Colorbox for small screens.
var mq = window.matchMedia('(max-device-width: ' + settings.colorbox.mobiledevicewidth + ')');
if (mq.matches) {
+ $.colorbox.remove();
return;
}
}