don't open the lightbox in code preview when you ctrl-click
parent
a1f25f2c73
commit
2b8540552c
|
@ -571,6 +571,7 @@ define([
|
|||
var MutationObserver = window.MutationObserver;
|
||||
var onPreview = function ($mt) {
|
||||
return function () {
|
||||
if (window.event.ctrlKey) { return; }
|
||||
var mts = [];
|
||||
// Get all previewable elements from the doc
|
||||
$content.find('media-tag, pre[data-plugin]').each(function (i, el) {
|
||||
|
|
Loading…
Reference in New Issue