Commit 693aabdb authored by revati_gawas's avatar revati_gawas Committed by RenatoG

Issue #2904785 by revati_gawas, ccarlson, rsmylski, bserem, madhavimalgaonkar,...

Issue #2904785 by revati_gawas, ccarlson, rsmylski, bserem, madhavimalgaonkar, RenatoG: Mobile Detection doesn't disable colorbox on mobile
parent 1f104baa
......@@ -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;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment