1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 00:17:58 +01:00

move win.res guard clause after initialisation of win in loadCoord()

This commit is contained in:
Doug Kearns
2007-08-10 11:14:51 +00:00
parent cfdea2614a
commit 5b4ad04154

View File

@@ -70,11 +70,12 @@ function Hints() //{{{
this.loadCoord = function(winId, i)
{
win = wins[winId];
// win.res is not ready when loading has not finished yet
if (!win.res)
return;
win = wins[winId];
var elem = win.res.snapshotItem(i);
if (elem)