diff --git a/src/iisnode/node-inspector-0.7.3/node_modules/node-inspector/front-end/treeoutline.js b/src/iisnode/node-inspector-0.7.3/node_modules/node-inspector/front-end/treeoutline.js index bf17bc05..d212a659 100644 --- a/src/iisnode/node-inspector-0.7.3/node_modules/node-inspector/front-end/treeoutline.js +++ b/src/iisnode/node-inspector-0.7.3/node_modules/node-inspector/front-end/treeoutline.js @@ -940,8 +940,8 @@ TreeElement.prototype.traversePreviousTreeElement = function(skipUnrevealed, don TreeElement.prototype.isEventWithinDisclosureTriangle = function(event) { // FIXME: We should not use getComputedStyle(). For that we need to get rid of using ::before for disclosure triangle. (http://webk.it/74446) - var paddingLeftValue = window.getComputedStyle(this._listItemNode).getPropertyCSSValue("padding-left"); - var computedLeftPadding = paddingLeftValue ? paddingLeftValue.getFloatValue(CSSPrimitiveValue.CSS_PX) : 0; + var paddingLeftValue = window.getComputedStyle(this._listItemNode).getPropertyValue("padding-left"); + var computedLeftPadding = paddingLeftValue ? paddingLeftValue : 0; var left = this._listItemNode.totalOffsetLeft() + computedLeftPadding; return event.pageX >= left && event.pageX <= left + this.arrowToggleWidth && this.hasChildren; }