chiark / gitweb /
doxygen: actually remove the ID attribute instead of emptying it.
authorVladimír Vondruš <mosra@centrum.cz>
Wed, 2 Jan 2019 21:01:51 +0000 (22:01 +0100)
committerVladimír Vondruš <mosra@centrum.cz>
Wed, 2 Jan 2019 21:07:36 +0000 (22:07 +0100)
doxygen/search.js

index 901593edf4fc3a9f2d49ae3cb721847d91855737..6031ca5d268b6a04c77a867d1e398cef5f443a60 100644 (file)
@@ -580,7 +580,7 @@ function selectResult(event) {
     if(event.currentTarget.parentNode.id == 'search-current') return;
 
     let current = document.getElementById('search-current');
-    current.id = '';
+    current.removeAttribute('id');
     event.currentTarget.parentNode.id = 'search-current';
 }