summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Dahlström <johannesd@vaadin.com>2013-06-04 15:20:15 +0300
committerJohannes Dahlström <johannesd@vaadin.com>2013-06-04 15:23:27 +0300
commit666dbb5f6b80a83c01140159901754fa317a977e (patch)
tree180c5088d236416f0097aff3193703f730cbebd7
parenta82d57ee336803359ba2a49aba80604c74c782e0 (diff)
downloadvaadin-framework-666dbb5f6b80a83c01140159901754fa317a977e.tar.gz
vaadin-framework-666dbb5f6b80a83c01140159901754fa317a977e.zip
Use window.console instead of just console in vaadinPush to appease IE (#11980)
Change-Id: I6f363e9afc550d70eb451005dcfdfb53e5533273
-rw-r--r--WebContent/VAADIN/vaadinPush.js.tpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/WebContent/VAADIN/vaadinPush.js.tpl b/WebContent/VAADIN/vaadinPush.js.tpl
index 3928fba1b6..43dfd18b40 100644
--- a/WebContent/VAADIN/vaadinPush.js.tpl
+++ b/WebContent/VAADIN/vaadinPush.js.tpl
@@ -3,6 +3,6 @@ window.jQueryVaadin = window.jQuery.noConflict(true);
(function(jQuery, undefined) {
@jquery.atmosphere.js@
})(jQueryVaadin);
-if (console) {
- console.log("Vaadin push loaded");
-} \ No newline at end of file
+if (window.console) {
+ window.console.log("Vaadin push loaded");
+}