diff options
author | Artur Signell <artur@vaadin.com> | 2014-05-21 22:18:05 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2014-05-22 06:27:36 +0000 |
commit | 34cadb00b0522af81fca851e96f670e1696c03a6 (patch) | |
tree | 6c1de20e1934cc646317dd2d0b7e3f4c2620ee9a | |
parent | 963402b9df6610044ab3be1c7021306e94fa57f6 (diff) | |
download | vaadin-framework-34cadb00b0522af81fca851e96f670e1696c03a6.tar.gz vaadin-framework-34cadb00b0522af81fca851e96f670e1696c03a6.zip |
Use method available in all browsers (#13804)
String.contains work in Firefox, not in Chrome or Opera
Change-Id: I074d3c79629fd699841d3b39a36620511233ce6c
-rw-r--r-- | WebContent/VAADIN/vaadinBootstrap.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebContent/VAADIN/vaadinBootstrap.js b/WebContent/VAADIN/vaadinBootstrap.js index ea1ea21b46..df46d8bc72 100644 --- a/WebContent/VAADIN/vaadinBootstrap.js +++ b/WebContent/VAADIN/vaadinBootstrap.js @@ -67,7 +67,7 @@ // "v-app-loading" we have only received the HTML // but not yet started the widget set // (UIConnector removes the v-app-loading div). - if (className && className.contains("v-app-loading")) { + if (className && className.indexOf("v-app-loading") != -1) { return false; } } |