aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts
diff options
context:
space:
mode:
authormrmr19932014-10-26 01:54:07 +0000
committermrmr19932014-10-26 01:58:55 +0000
commit17d06058b8aa5e05a705c5c914fb42bf9f13a307 (patch)
tree8452abf192616f353e52d23ffc72c566dd26851c /background_scripts
parenta485fe7500ce0d8cad0b6f5a3d20b279d738521b (diff)
downloadvimium-17d06058b8aa5e05a705c5c914fb42bf9f13a307.tar.bz2
Change registerFrameIfSizeAvailable to registerFrame, stop sending size
We were never using the area property, and it was causing an infinite setTimeout loop on frames with height == 0 or width == 0 (often caused by AdBlockPlus etc.).
Diffstat (limited to 'background_scripts')
-rw-r--r--background_scripts/main.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee
index 352cfa48..7b9d98b0 100644
--- a/background_scripts/main.coffee
+++ b/background_scripts/main.coffee
@@ -593,7 +593,7 @@ registerFrame = (request, sender) ->
focusedFrame = request.frameId
framesForTab[sender.tab.id].total = request.total
- framesForTab[sender.tab.id].frames.push({ id: request.frameId, area: request.area })
+ framesForTab[sender.tab.id].frames.push({ id: request.frameId })
handleFrameFocused = (request, sender) -> focusedFrame = request.frameId