mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fix cosmetic infoblock issue when there is more than one info_box on a page
This commit is contained in:
parent
121e5cacd4
commit
a0fb2268f3
4
src/usr/local/www/jquery/pfSenseHelpers.js
vendored
4
src/usr/local/www/jquery/pfSenseHelpers.js
vendored
@ -371,8 +371,8 @@ $('[id^=delete]').click(function(event) {
|
||||
if($('#infoblock').length != 0) {
|
||||
$('#infoblock').before('<i class="fa fa-info-circle icon-pointer" style="color: #337AB7;; font-size:20px; margin-left: 10px; margin-bottom: 10px;" id="showinfo" title="More information"></i>');
|
||||
|
||||
// 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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user