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() {
});
// 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();
});
// 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();
});
// Listen for clicks on search button (widget)
$("#widget_btn_search").on('click touchstart', function(event) {
$("#widget_btn_search").on('click', function(event) {
$("#search").toggle();
$("#highlighter").focus();
$("#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