1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-06 14:57:10 +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;
}
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');
if($label.length == 0) return;
var forId = $label.attr('for');
@@ -2682,7 +2682,7 @@ function InputfieldStates($target) {
var $label = $(this).parent('label');
if($label.length == 0) return;
$label.find('.InputfieldNameTip').remove();
});
}).addClass('toggle-icon-debug');
}
// no need to apply anything further for ajax-loaded inputfields

File diff suppressed because one or more lines are too long