X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/5c8c1676ef0036d6feceee576423ed0f1d28ae7c..2bb0e6a7d19dc695f82373e568e6959c6b995eca:/modules/documentCanvas/documentCanvas.js diff --git a/modules/documentCanvas/documentCanvas.js b/modules/documentCanvas/documentCanvas.js index 031ca1f..ea44955 100644 --- a/modules/documentCanvas/documentCanvas.js +++ b/modules/documentCanvas/documentCanvas.js @@ -182,7 +182,7 @@ return function(sandbox) { }, highlightNode: function(node) { if(!this.gridToggled) { - node.addClass('rng-hover'); + node.addClass('rng-common-hoveredNode'); var label = node.attr('wlxml-tag'); if(node.attr('wlxml-class')) label += ' / ' + node.attr('wlxml-class'); @@ -192,7 +192,7 @@ return function(sandbox) { }, dimNode: function(node) { if(!this.gridToggled) { - node.removeClass('rng-hover'); + node.removeClass('rng-common-hoveredNode'); node.find('.rng-module-documentCanvas-hoveredNodeTag').remove(); } }, @@ -219,7 +219,7 @@ return function(sandbox) { this.selectNode(node); }, toggleGrid: function(toggle) { - this.node.find('[wlxml-tag]').toggleClass('rng-hover', toggle); + this.node.find('[wlxml-tag]').toggleClass('rng-common-hoveredNode', toggle); this.gridToggled = toggle; } };