From d39008108c5c014caa0a451cf9cd11b519ec2e23 Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 11 Jul 2023 13:39:53 +0200 Subject: [PATCH] lint compliance --- 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 7c3cd2710..53f112b67 100644 --- a/www/pad/csp.js +++ b/www/pad/csp.js @@ -110,7 +110,7 @@ define(['jquery'], function ($) { var reg = /CKEDITOR.tools.callFunction\(([0-9]+),'?([^'"]+)'?(,'([A-Za-z0-9 ]+)')?\);/; var reg2 = /CKEDITOR.tools.callFunction\(([0-9]+),'?([^'",]+)'?(,'([A-Za-z0-9 ]+)')?, this\);/; var match = attr.match(reg); - var lastArg = undefined; + var lastArg; if (!match) { match = attr.match(reg2); if (!match) { return; }