don't open the lightbox in code preview when you ctrl-click

pull/1/head
ansuz 5 years ago
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…
Cancel
Save