Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2782)

Unified Diff: chrome/browser/resources/extensions/extensions.js

Issue 907553003: Fix closure compile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/webui/resources/js/cr/ui/page_manager/page.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/extensions/extensions.js
diff --git a/chrome/browser/resources/extensions/extensions.js b/chrome/browser/resources/extensions/extensions.js
index fcfdd61d256d9eb27e19f19504f8695bb65ead99..65a0fc6dd99c8a3e7423c08a6ceb47e6c3ac82fc 100644
--- a/chrome/browser/resources/extensions/extensions.js
+++ b/chrome/browser/resources/extensions/extensions.js
@@ -380,7 +380,7 @@ cr.define('extensions', function() {
ExtensionSettings.showOverlay = function(node) {
var pageDiv = $('extension-settings');
pageDiv.style.width = node ? window.getComputedStyle(pageDiv).width : '';
- document.body.classList.toggle('no-scroll', node);
+ document.body.classList.toggle('no-scroll', !!node);
var currentlyShowingOverlay = ExtensionSettings.getCurrentOverlay();
if (currentlyShowingOverlay) {
« no previous file with comments | « no previous file | ui/webui/resources/js/cr/ui/page_manager/page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698