diff --git a/src/usr/local/www/jquery/pfSenseHelpers.js b/src/usr/local/www/jquery/pfSenseHelpers.js index 8ffca5c299..9ba913585d 100644 --- a/src/usr/local/www/jquery/pfSenseHelpers.js +++ b/src/usr/local/www/jquery/pfSenseHelpers.js @@ -371,8 +371,8 @@ $('[id^=delete]').click(function(event) { if($('#infoblock').length != 0) { $('#infoblock').before(''); - // and remove the 'X' button from the text box - $('.close').remove(); + // and remove the 'X' button from the last text box (Which we assume to be the infoblock) + $('.close :last').remove(); } // Hide information on page load