Index: remoting/webapp/util.js |
diff --git a/remoting/webapp/util.js b/remoting/webapp/util.js |
index f6899c3a8029329445b4ffa5b8fc26e460f2740f..31fbfe05528d6fd0a2c705a7bd2abce293e82024 100644 |
--- a/remoting/webapp/util.js |
+++ b/remoting/webapp/util.js |
@@ -51,3 +51,12 @@ function getUrlParameters() { |
} |
return result; |
} |
+ |
+// This function can be called from the Javascript console to show all the UI, |
+// for example prior to auditing the CSS. It is not useful otherwise. |
+function unhideAll() { |
+ var hidden = document.querySelectorAll('[hidden]'); |
+ for (var i in hidden) { |
+ hidden[i].hidden = false; |
+ } |
+} |