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

Unified Diff: native_client_sdk/src/examples/api/var_dictionary/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/api/var_dictionary/example.js
diff --git a/native_client_sdk/src/examples/api/var_dictionary/example.js b/native_client_sdk/src/examples/api/var_dictionary/example.js
index d0c58b783df3d1b4ea95d1db1d4a6c7e1083c11a..508dad1c404db2c3d0711b3b0b5d55dc0e4a3c13 100644
--- a/native_client_sdk/src/examples/api/var_dictionary/example.js
+++ b/native_client_sdk/src/examples/api/var_dictionary/example.js
@@ -29,7 +29,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/api/file_io/example.js ('k') | native_client_sdk/src/examples/demo/drive/example.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698