show custom position links in popup rather than modal

This commit is contained in:
Gwendolyn 2023-12-27 13:14:17 +01:00
parent f498592390
commit 71359ef3cb

View file

@ -1307,7 +1307,7 @@ c3nav = {
}
},
_href_modal_open_tab: function(location) {
return ['/l/', '/control/', '/reports/', '/mesh/', '/positions/', '/api-secrets/', '/editor/'].some(prefix => location.startsWith(prefix));
return ['/l/', '/control/', '/reports/', '/mesh/', '/api-secrets/', '/editor/'].some(prefix => location.startsWith(prefix));
},
_modal_link_click: function(e) {
var location = $(this).attr('href');