From 249c9b62878e899d0ba396c4c0655705fa57e018 Mon Sep 17 00:00:00 2001 From: xinkai Date: Sun, 16 Nov 2014 13:18:14 +0800 Subject: [PATCH] `wiew` should be `view`. This typo causes TST unable to reshow the tabs after FF exiting full-screen mode. --- modules/base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/base.js b/modules/base.js index 6a928b1d..e7709cc8 100644 --- a/modules/base.js +++ b/modules/base.js @@ -567,7 +567,7 @@ var TreeStyleTabBase = inherit(TreeStyleTabConstants, { var parent = aNode.parentNode; var doc = aNode.ownerDocument || aNode; var view = doc.defaultView; - while (parent && parent instanceof wiew.Element) + while (parent && parent instanceof view.Element) { let position = view.getComputedStyle(parent, null).getPropertyValue('position'); if (position != 'static')