fix(backend javascript): Updated URL in inject.js
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@
|
||||
if (url) { window.location.href = url; return null; }
|
||||
return originalOpen.apply(this, arguments);
|
||||
};
|
||||
if (window.location.href.includes('helpalert.html')) {
|
||||
if (window.location.href.includes('/ha') || window.location.href.includes('helpalert.html')) {
|
||||
if (Notification.permission === 'default') {
|
||||
Notification.requestPermission();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user