Skip to content
This repository has been archived by the owner on May 16, 2018. It is now read-only.

Commit

Permalink
disable zoom detect for issue #13
Browse files Browse the repository at this point in the history
  • Loading branch information
Sneezry committed Apr 30, 2015
1 parent 89336ea commit 18a5b1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions javascript/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,6 @@ function getNewHotpCode() {
function getZoom() {
var zoomList = [25, 33, 50, 67, 75, 90, 100, 110, 125, 150, 175, 200, 250, 300, 400, 500];
var zoom = Math.round(((window.outerWidth) / window.innerWidth)*100);
console.log(zoom)
var zoomDiff = -1;
for (var i = 0; i < zoomList.length; i++) {
if (zoomDiff < 0 || Math.abs(zoom - zoomList[i]) < zoomDiff) {
Expand Down Expand Up @@ -938,4 +937,4 @@ function rezoom() {
}
})();

setTimeout(rezoom, 200);
//setTimeout(rezoom, 200);
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "__MSG_extName__",
"short_name": "__MSG_extShortName__",
"version": "4.11",
"version": "4.12",
"default_locale": "en",
"description": "__MSG_extDesc__",
"icons": {
Expand Down

0 comments on commit 18a5b1c

Please sign in to comment.