diff options
author | Manolo Carrasco <manolo@apache.org> | 2010-05-13 08:53:37 +0000 |
---|---|---|
committer | Manolo Carrasco <manolo@apache.org> | 2010-05-13 08:53:37 +0000 |
commit | 1d1f3a356c2c6ef3956480894823f23f150e1290 (patch) | |
tree | 238f0e0153bf7fc5c5dbcb1e087a97f602872766 /gwtquery-core | |
parent | f98437c2e06df0daf7c2c2b765571dffacbe497d (diff) | |
download | gwtquery-1d1f3a356c2c6ef3956480894823f23f150e1290.tar.gz gwtquery-1d1f3a356c2c6ef3956480894823f23f150e1290.zip |
Fixes Issue_28
Diffstat (limited to 'gwtquery-core')
-rw-r--r-- | gwtquery-core/src/main/java/com/google/gwt/query/Query.gwt.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/Query.gwt.xml b/gwtquery-core/src/main/java/com/google/gwt/query/Query.gwt.xml index 818cc07e..1aee9798 100644 --- a/gwtquery-core/src/main/java/com/google/gwt/query/Query.gwt.xml +++ b/gwtquery-core/src/main/java/com/google/gwt/query/Query.gwt.xml @@ -9,7 +9,7 @@ <![CDATA[
// useful for benchmarking tests when you want to force non-accelerated queries
//if(window.location.href.indexOf("_selector_force_js") != -1) return "js";
- if(document.querySelectorAll && /native/.test(document.querySelectorAll.toString())) {
+ if(document.querySelectorAll && /native/.test(String(document.querySelectorAll))) {
return "native";
}
return "js"
|