From 71a1b3ab64b4601b9132e877e3b53c9b85d03429 Mon Sep 17 00:00:00 2001
From: Adrian Lang <lang@cosmocode.de>
Date: Mon, 22 Mar 2010 17:00:02 +0100
Subject: [PATCH] Really remove edit highlighting on mouseout

---
 lib/scripts/script.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/scripts/script.js b/lib/scripts/script.js
index 27d088584..25b10205c 100644
--- a/lib/scripts/script.js
+++ b/lib/scripts/script.js
@@ -552,7 +552,7 @@ addInitEvent(function(){
         addEvent(btns[i],'mouseout',function(e){
             var secs = getElementsByClass('section_highlight');
             for(var j=0; j<secs.length; j++){
-                secs[j].className = secs[j].className.replace(/section_highlight/,'');
+                secs[j].className = secs[j].className.replace(/section_highlight/g,'');
             }
         });
     }
-- 
GitLab