diff options
| author | Phil Crosby | 2011-07-29 23:49:25 -0700 |
|---|---|---|
| committer | Phil Crosby | 2011-07-29 23:49:25 -0700 |
| commit | dc114c168740212670021ec39a097371bd35b3ed (patch) | |
| tree | cd59aac7dff5b080d07ec41d26237b5db35bc1e7 /helpDialog.html | |
| parent | 9a7a2eff94d67aac307c6e20ec90270165ef05b2 (diff) | |
| download | vimium-dc114c168740212670021ec39a097371bd35b3ed.tar.bz2 | |
Remove the zooming functionality. It conflict's with Chrome's native zooming and doesn't work as well.
Now that Chrome saves your zoom settings, there's no need for our own zoom implementation.
This also fixes #370.
Diffstat (limited to 'helpDialog.html')
| -rw-r--r-- | helpDialog.html | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/helpDialog.html b/helpDialog.html index 51ff1692..5feed105 100644 --- a/helpDialog.html +++ b/helpDialog.html @@ -162,14 +162,7 @@ var advanced = VimiumHelpDialog.dialogElement.getElementsByClassName("advanced"); for (var i = 0; i < advanced.length; i++) advanced[i].style.display = (visible ? "table-row" : "none"); - }, - - centerDialog: function() { - var zoomFactor = currentZoomLevel / 100.0; - this.dialogElement.style.top = Math.max( - (window.innerHeight - this.dialogElement.clientHeight * zoomFactor) / 2.0, - 20) / zoomFactor + "px"; - } + } }; VimiumHelpDialog.init(); |
