From 26765596e4509414ec754ac5a8bf8634e0cb874f Mon Sep 17 00:00:00 2001 From: ansuz Date: Fri, 26 Jun 2020 15:44:50 -0400 Subject: [PATCH] fix a regression --- www/pad/csp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/pad/csp.js b/www/pad/csp.js index 2e0d7a4ef..58adab51c 100644 --- a/www/pad/csp.js +++ b/www/pad/csp.js @@ -2,7 +2,7 @@ define(['jquery'], function ($) { var CKEDITOR = window.CKEDITOR; $('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; } var reg = /CKEDITOR.tools.callFunction\(([0-9]+), this\);/; var m = attr.match(reg);