Merge pull request #790 from Xinkai/master

`wiew` should be `view`.
This commit is contained in:
YUKI "Piro" Hiroshi 2014-11-16 14:46:48 +09:00
commit 232ee84bf0

View File

@ -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')