From dc114c168740212670021ec39a097371bd35b3ed Mon Sep 17 00:00:00 2001 From: Phil Crosby Date: Fri, 29 Jul 2011 23:49:25 -0700 Subject: 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. --- helpDialog.html | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'helpDialog.html') 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(); -- cgit v1.2.3