diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2014-10-30 08:09:07 +0100 |
|---|---|---|
| committer | Adam Tauber <asciimoo@gmail.com> | 2014-10-30 08:09:07 +0100 |
| commit | 58cc03351a10668da8aedd355d8b7da33057855a (patch) | |
| tree | 9a49da81bdb76ed3145168621e8a0954a2d5de4f /searx/static/default/js | |
| parent | 79f1676e318d36704687966fd124b7f29ddc21fa (diff) | |
| parent | 8534d8b87a02cf7713d071fa0837734f7d620b51 (diff) | |
Merge pull request #118 from dalf/master
default theme : small modifications
Diffstat (limited to 'searx/static/default/js')
| -rw-r--r-- | searx/static/default/js/searx.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/searx/static/default/js/searx.js b/searx/static/default/js/searx.js index c87dc30d4..9be969bb3 100644 --- a/searx/static/default/js/searx.js +++ b/searx/static/default/js/searx.js @@ -41,5 +41,9 @@ if(searx.autocompleter) { } }); + if (!!('ontouchstart' in window)) { + document.getElementsByTagName("html")[0].className += " touch"; + } + })(window, document); |