1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-08 07:47:00 +02:00
This commit is contained in:
Ryan Cramer
2024-11-29 13:43:26 -05:00
parent 1c5f2f7e3c
commit 2361b90739
2 changed files with 3 additions and 3 deletions

View File

@@ -2665,7 +2665,7 @@ function InputfieldStates($target) {
var config = ProcessWire.config; var config = ProcessWire.config;
} }
if(typeof config !== "undefined" && config.debug) { if(typeof config !== "undefined" && config.debug) {
$('.InputfieldHeader > i.toggle-icon', $target).on('mouseenter', function() { $('.InputfieldHeader > i.toggle-icon:not(.toggle-icon-debug)', $target).on('mouseenter', function() {
var $label = $(this).parent('label'); var $label = $(this).parent('label');
if($label.length == 0) return; if($label.length == 0) return;
var forId = $label.attr('for'); var forId = $label.attr('for');
@@ -2682,7 +2682,7 @@ function InputfieldStates($target) {
var $label = $(this).parent('label'); var $label = $(this).parent('label');
if($label.length == 0) return; if($label.length == 0) return;
$label.find('.InputfieldNameTip').remove(); $label.find('.InputfieldNameTip').remove();
}); }).addClass('toggle-icon-debug');
} }
// no need to apply anything further for ajax-loaded inputfields // no need to apply anything further for ajax-loaded inputfields

File diff suppressed because one or more lines are too long