fix a regression

pull/1/head
ansuz 5 years ago
parent c40eeff50f
commit 26765596e4

@ -2,7 +2,7 @@ define(['jquery'], function ($) {
var CKEDITOR = window.CKEDITOR; var CKEDITOR = window.CKEDITOR;
$('body').on('click', '.cke_dialog_container a.cke_specialchar', function (e) { $('body').on('click', '.cke_dialog_container a.cke_specialchar', function (e) {
var attr = $(e.currentTarget).attr('onclick'); var attr = $(e.currentTarget).attr('oonclick');
if (!attr) { return; } if (!attr) { return; }
var reg = /CKEDITOR.tools.callFunction\(([0-9]+), this\);/; var reg = /CKEDITOR.tools.callFunction\(([0-9]+), this\);/;
var m = attr.match(reg); var m = attr.match(reg);

Loading…
Cancel
Save