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

Unified Diff: native_client_sdk/src/examples/demo/nacl_io/example.js

Issue 111833002: Add missing argument to Element.setAttribute() calls (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
Index: native_client_sdk/src/examples/demo/nacl_io/example.js
diff --git a/native_client_sdk/src/examples/demo/nacl_io/example.js b/native_client_sdk/src/examples/demo/nacl_io/example.js
index 0ccaf7da7effeba841baa7caed870e9249eb79f0..9c0a513fc0f7b024c84ca762c1654b475699da04 100644
--- a/native_client_sdk/src/examples/demo/nacl_io/example.js
+++ b/native_client_sdk/src/examples/demo/nacl_io/example.js
@@ -46,7 +46,7 @@ function onRadioClicked(e) {
if (functionEls[i].id === divId)
functionEls[i].removeAttribute('hidden');
else
- functionEls[i].setAttribute('hidden');
+ functionEls[i].setAttribute('hidden', '');
}
}
« no previous file with comments | « native_client_sdk/src/examples/demo/drive/example.js ('k') | native_client_sdk/src/gonacl_appengine/static/frame.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698