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

Unified Diff: native_client_sdk/src/examples/api/file_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/api/file_io/example.js
diff --git a/native_client_sdk/src/examples/api/file_io/example.js b/native_client_sdk/src/examples/api/file_io/example.js
index 6143fd567cd7e6e9aedcd0184bb34893635739ef..81a47175d5d0fac5020867b8a20b04afe4499f68 100644
--- a/native_client_sdk/src/examples/api/file_io/example.js
+++ b/native_client_sdk/src/examples/api/file_io/example.js
@@ -45,7 +45,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 | « chrome/browser/resources/sync_internals/sync_search.js ('k') | native_client_sdk/src/examples/api/var_dictionary/example.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698