mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
UI hide Devices sections work #612
This commit is contained in:
@@ -1008,7 +1008,7 @@ function setupSmoothScrolling() {
|
||||
var url = window.location.href;
|
||||
if (url.includes("#")) {
|
||||
var idFromURL = url.substring(url.indexOf("#") + 1);
|
||||
if ($("#" + idFromURL).length > 0) {
|
||||
if (idFromURL != "" && $("#" + idFromURL).length > 0) {
|
||||
scrollToElement(idFromURL);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user