Commit 6172050a authored by Tobias Zeumer's avatar Tobias Zeumer
Browse files

Fix: remove touchstart event from buttons

parent 3468cbd8
...@@ -79,17 +79,17 @@ $( document ).ready(function() { ...@@ -79,17 +79,17 @@ $( document ).ready(function() {
}); });
// Listen for clicks on close button for legend // Listen for clicks on close button for legend
$("#legend_btn_close").on('click touchstart', function(event) { $("#legend_btn_close").on('click', function(event) {
$("#legend").toggle(); $("#legend").toggle();
}); });
// Listen for clicks on settings button (widget; cog) // Listen for clicks on settings button (widget; cog)
$("#widget_btn_settings").on('click touchstart', function(event) { $("#widget_btn_settings").on('click', function(event) {
$("#settings").toggle(); $("#settings").toggle();
}); });
// Listen for clicks on search button (widget) // Listen for clicks on search button (widget)
$("#widget_btn_search").on('click touchstart', function(event) { $("#widget_btn_search").on('click', function(event) {
$("#search").toggle(); $("#search").toggle();
$("#highlighter").focus(); $("#highlighter").focus();
$("#highlighter").val(''); $("#highlighter").val('');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment