Index: native_client_sdk/src/examples/demo/drive/example.js |
diff --git a/native_client_sdk/src/examples/demo/drive/example.js b/native_client_sdk/src/examples/demo/drive/example.js |
index ae6326f48da70f67509f4696d3793878dce1b6e5..95956b23a92f819f506b4aaf10c186d5eaceb811 100644 |
--- a/native_client_sdk/src/examples/demo/drive/example.js |
+++ b/native_client_sdk/src/examples/demo/drive/example.js |
@@ -15,7 +15,7 @@ function onGetAuthToken(authToken) { |
var signInEl = document.getElementById('signIn'); |
var getFileEl = document.getElementById('getFile'); |
if (authToken) { |
- signInEl.setAttribute('hidden'); |
+ signInEl.setAttribute('hidden', ''); |
getFileEl.removeAttribute('hidden'); |
window.authToken = authToken; |
@@ -26,7 +26,7 @@ function onGetAuthToken(authToken) { |
// this app. Display a button to let the user sign in and authorize this |
// application. |
signInEl.removeAttribute('hidden'); |
- getFileEl.setAttribute('hidden'); |
+ getFileEl.setAttribute('hidden', ''); |
} |
}; |