Fossil SCM
Fix the javascript used to activate hyperlinks.
Commit
6b139de03f349cc49a7d517ae0a7f3291d81df639d2f88677079160a0f8515f2
Parent
37f23f3764976a3…
1 file changed
+1
-1
+1
-1
| --- src/href.js | ||
| +++ src/href.js | ||
| @@ -34,11 +34,11 @@ | ||
| 34 | 34 | var jx = x.textContent || x.innerText; |
| 35 | 35 | var g = JSON.parse(jx); |
| 36 | 36 | var isOperaMini = |
| 37 | 37 | Object.prototype.toString.call(window.operamini)==="[object OperaMini]"; |
| 38 | 38 | if(g.mouseover && !isOperaMini){ |
| 39 | - document.getElementByTagName("body")[0].onmousemove=function(){ | |
| 39 | + document.getElementsByTagName("body")[0].onmousemove=function(){ | |
| 40 | 40 | setTimeout(setAllHrefs, g.delay); |
| 41 | 41 | } |
| 42 | 42 | }else{ |
| 43 | 43 | setTimeout(setAllHrefs, g.delay); |
| 44 | 44 | } |
| 45 | 45 |
| --- src/href.js | |
| +++ src/href.js | |
| @@ -34,11 +34,11 @@ | |
| 34 | var jx = x.textContent || x.innerText; |
| 35 | var g = JSON.parse(jx); |
| 36 | var isOperaMini = |
| 37 | Object.prototype.toString.call(window.operamini)==="[object OperaMini]"; |
| 38 | if(g.mouseover && !isOperaMini){ |
| 39 | document.getElementByTagName("body")[0].onmousemove=function(){ |
| 40 | setTimeout(setAllHrefs, g.delay); |
| 41 | } |
| 42 | }else{ |
| 43 | setTimeout(setAllHrefs, g.delay); |
| 44 | } |
| 45 |
| --- src/href.js | |
| +++ src/href.js | |
| @@ -34,11 +34,11 @@ | |
| 34 | var jx = x.textContent || x.innerText; |
| 35 | var g = JSON.parse(jx); |
| 36 | var isOperaMini = |
| 37 | Object.prototype.toString.call(window.operamini)==="[object OperaMini]"; |
| 38 | if(g.mouseover && !isOperaMini){ |
| 39 | document.getElementsByTagName("body")[0].onmousemove=function(){ |
| 40 | setTimeout(setAllHrefs, g.delay); |
| 41 | } |
| 42 | }else{ |
| 43 | setTimeout(setAllHrefs, g.delay); |
| 44 | } |
| 45 |