|
@@ -441,7 +441,7 @@ var map = L.map('m', {renderer: L.canvas(), attributionControl: false}).setView(
|
441
|
441
|
|
442
|
442
|
map.addControl(L.control.attribution({
|
443
|
443
|
position: 'bottomright',
|
444
|
|
- prefix: '© <a href="https://ad.cs.uni-freiburg.de">University of Freiburg, Chair of Algorithms and Data Structures</a>'
|
|
444
|
+ prefix: '© <a target="_blank" href="https://ad.cs.uni-freiburg.de">University of Freiburg, Chair of Algorithms and Data Structures</a>'
|
445
|
445
|
}));
|
446
|
446
|
|
447
|
447
|
map.on('popupopen', function(e) {
|
|
@@ -456,7 +456,7 @@ map.on('popupopen', function(e) {
|
456
|
456
|
|
457
|
457
|
L.tileLayer('https://stamen-tiles-{s}.a.ssl.fastly.net/toner-lite/{z}/{x}/{y}.png', {
|
458
|
458
|
maxZoom: 20,
|
459
|
|
- attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>',
|
|
459
|
+ attribution: '© <a target="_blank" href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>',
|
460
|
460
|
opacity: 0.8
|
461
|
461
|
}).addTo(map);
|
462
|
462
|
|
|
@@ -612,7 +612,7 @@ function s(q) {
|
612
|
612
|
}
|
613
|
613
|
|
614
|
614
|
delayTimer = setTimeout(function() {
|
615
|
|
- req("sr", "/search?q=" + q, function(c) {
|
|
615
|
+ req("sr", "/search?q=" + encodeURIComponent(q.substring(0, 100)), function(c) {
|
616
|
616
|
var res = $("#sres");
|
617
|
617
|
addCl(res, "res-open");
|
618
|
618
|
res.innerHTML = "";
|