diff options
| author | Bill Mill | 2010-03-23 01:03:22 -0400 |
|---|---|---|
| committer | ilya | 2010-03-24 22:05:32 -0700 |
| commit | 85aa6c1609b2825123104a0b373b3823f65ba164 (patch) | |
| tree | 10b3201b97850f5dc3cfe1c3d37869ce3f5a2bfe | |
| parent | 158cff8e57ea7cee74e0c5e21f7ebd502f792203 (diff) | |
| download | vimium-85aa6c1609b2825123104a0b373b3823f65ba164.tar.bz2 | |
checking in a fix for issue 98, link highlight positioning bug
| -rw-r--r-- | background_page.html | 2 | ||||
| -rw-r--r-- | linkHints.js | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/background_page.html b/background_page.html index 978409bd..8a78c97e 100644 --- a/background_page.html +++ b/background_page.html @@ -38,6 +38,8 @@ 'border:1px solid #E3BE23;' + 'z-index:99999999;' + 'font-family:"Helvetica Neue", "Helvetica", "Arial", "Sans";' + + 'top:0px;' + + 'left:0px;' + '}' + '.internalVimiumHintMarker > .matchingCharacter {' + 'color:#C79F0B;' + diff --git a/linkHints.js b/linkHints.js index 2c085ff7..0b70acc1 100644 --- a/linkHints.js +++ b/linkHints.js @@ -52,6 +52,7 @@ function buildLinkHints() { // that if you scroll the page and the link has position=fixed, the marker will not stay fixed. // Also note that adding these nodes to document.body all at once is significantly faster than one-by-one. hintMarkerContainingDiv = document.createElement("div"); + hintMarkerContainingDiv.className = "internalVimiumHintMarker"; for (var i = 0; i < hintMarkers.length; i++) hintMarkerContainingDiv.appendChild(hintMarkers[i]); document.body.appendChild(hintMarkerContainingDiv); |
