The URI of TUHH Docker Registry changed from "docker.rz.tu-harburg.de:5000" to "docker.rz.tu-harburg.de". Please update your gitlab-ci.yml files if you use images from this registry.

Commit 1aa02590 authored by Tobias Zeumer's avatar Tobias Zeumer

Determine if touch device is used by one-time event for touchstart and change...

Determine if touch device is used by one-time event for touchstart and change "which" option for panzoom accordingly; #31
parent 06e09562
......@@ -97,6 +97,10 @@ $( document ).ready(function() {
focal: e
});
});
// Add onetime event listener, that just changes "which" if a touchdevice is detected
window.addEventListener('touchstart', function() {
$("#tubhh").panzoom("option", "which", -1);
}, {once: true});
// Show welcome entry
show_legend_entry('title_welcome', 'desc_welcome');
......
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