lint compliance

pull/1/head
yflory 4 years ago
parent 92bc7e29dd
commit ba57a687c8

@ -5,7 +5,7 @@ define([
'/customize/messages.js' '/customize/messages.js'
], function ($, h, UIElements, Messages) { ], function ($, h, UIElements, Messages) {
var onLinkClicked = function (e, inner, openLinkSetting) { var onLinkClicked = function (e, inner, openLinkSetting, editor) {
var $target = $(e.target); var $target = $(e.target);
if (!$target.is('a')) { if (!$target.is('a')) {
$target = $target.closest('a'); $target = $target.closest('a');
@ -85,7 +85,7 @@ define([
$inner.click(function (e) { $inner.click(function (e) {
removeClickedLink($inner); removeClickedLink($inner);
if (e.target.nodeName.toUpperCase() === 'A' || $(e.target).closest('a').length) { if (e.target.nodeName.toUpperCase() === 'A' || $(e.target).closest('a').length) {
return void onLinkClicked(e, inner, openLinkSetting); return void onLinkClicked(e, inner, openLinkSetting, editor);
} }
}); });

Loading…
Cancel
Save