summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/net_internals/tabswitcherview.js
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/resources/net_internals/tabswitcherview.js')
-rw-r--r--chrome/browser/resources/net_internals/tabswitcherview.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/resources/net_internals/tabswitcherview.js b/chrome/browser/resources/net_internals/tabswitcherview.js
index 97eca54..ad25052 100644
--- a/chrome/browser/resources/net_internals/tabswitcherview.js
+++ b/chrome/browser/resources/net_internals/tabswitcherview.js
@@ -23,7 +23,7 @@
* @constructor
*/
function TabSwitcherView(tabHandleDivId) {
- document.getElementById(tabHandleDivId).classList.add('tab-switcher-view');
+ $(tabHandleDivId).classList.add('tab-switcher-view');
var tabHandleView = new DivView(tabHandleDivId);
View.call(this);
@@ -166,6 +166,6 @@ TabEntry.prototype.setSelected = function(isSelected) {
* Returns the DOM node that is used to select the tab.
*/
TabEntry.prototype.getTabHandleNode = function() {
- return document.getElementById(this.id);
+ return $(this.id);
};