From 7834c3c2176e117bee0de30f0435d0cc86db2d84 Mon Sep 17 00:00:00 2001 From: wikosoft GmbH <42371674+wikosoft@users.noreply.github.com> Date: Wed, 29 Jun 2022 12:24:54 +0200 Subject: [PATCH] Undefined link case handled I'd really like to see this in the next update --- .../components/com_breezingforms/admin/quickmode.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/administrator/components/com_breezingforms/admin/quickmode.html.php b/platform/administrator/components/com_breezingforms/admin/quickmode.html.php index 617ba6b..efcf509 100644 --- a/platform/administrator/components/com_breezingforms/admin/quickmode.html.php +++ b/platform/administrator/components/com_breezingforms/admin/quickmode.html.php @@ -90,7 +90,7 @@ function BF_QuickModeApp(){ var _xe = 'e'; var _xr = 'r'; var _xy = 'y'; - if( JQuery(this).attr('href').bfendsWith(_xj+_xq+_xu+_xe+_xr+_xy+'-ui.css') ){ + if( typeof JQuery(this).attr('href') !== 'undefined' && JQuery(this).attr('href').bfendsWith(_xj+_xq+_xu+_xe+_xr+_xy+'-ui.css') ){ JQuery(this).attr('disabled', 'disabled'); JQuery(this).remove(); }