Commit 056e2414 authored by frjo's avatar frjo
Browse files

Issue #2680261 by Neelanjana Das: Colorbox ESLint errors

parent 50840c0c
(function ($, Drupal) {
"use strict";
'use strict';
Drupal.behaviors.initColorbox = {
attach: function (context, settings) {
......@@ -10,7 +10,7 @@
if (settings.colorbox.mobiledetect && window.matchMedia) {
// Disable Colorbox for small screens.
var mq = window.matchMedia("(max-device-width: " + settings.colorbox.mobiledevicewidth + ")");
var mq = window.matchMedia('(max-device-width: ' + settings.colorbox.mobiledevicewidth + ')');
if (mq.matches) {
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