We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8987d1d commit 32400bdCopy full SHA for 32400bd
debug_toolbar/static/debug_toolbar/js/toolbar.js
@@ -155,13 +155,13 @@
155
e.classList.add('djSelected');
156
e.classList.remove('djUnselected');
157
self.textContent = self.getAttribute('data-toggle-close');
158
- e.querySelector('.djToggleSwitch').textContent = self.textContent;
159
} else {
160
e.classList.remove('djSelected');
161
e.classList.add('djUnselected');
162
self.textContent = self.getAttribute('data-toggle-open');
163
164
}
+ var switch_ = e.querySelector('.djToggleSwitch')
+ if (switch_) switch_.textContent = self.textContent;
165
});
166
167
0 commit comments