Index: client/dart.js |
diff --git a/client/dart.js b/client/dart.js |
index 781e70ee0cfda4d421f441b69e95cfd9a9c2cf48..c070ef1a68a6a2b33e92e7a8c3bdce55008e9104 100644 |
--- a/client/dart.js |
+++ b/client/dart.js |
@@ -4,9 +4,8 @@ |
// Bootstrap support for Dart scripts on the page as this script. |
if (navigator.webkitStartDart) { |
- var expirationDate = navigator.webkitStartDart(); |
- if (expirationDate) { |
- document.body.innerHTML = 'This build has expired on ' + expirationDate + '. Please download a new Dartium at http://www.dartlang.org/dartium/index.html'; |
+ if (!navigator.webkitStartDart()) { |
+ document.body.innerHTML = 'This build has expired. Please download a new Dartium at http://www.dartlang.org/dartium/index.html'; |
} |
} else { |
// TODO: |