mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-03 17:59:21 +02:00
Fix javascript console.error case
This commit is contained in:
parent
705bd97b00
commit
abf4920a39
2 changed files with 3 additions and 3 deletions
|
@ -328,7 +328,7 @@ function geolocate_user() {
|
|||
if(navigator.geolocation) {
|
||||
navigator.geolocation.getCurrentPosition(geolocate_user_callback);
|
||||
} else {
|
||||
Console.error("This browser does not support geolocation");
|
||||
console.error("This browser does not support geolocation");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -77,7 +77,7 @@ if ($iframed) {
|
|||
function NotifyOfNewSong(title, artist, icon)
|
||||
{
|
||||
if (!("Notification" in window)) {
|
||||
Console.error("This browser does not support desktop notification");
|
||||
console.error("This browser does not support desktop notification");
|
||||
} else {
|
||||
if (Notification.permission !== 'denied') {
|
||||
if (Notification.permission === 'granted') {
|
||||
|
@ -91,7 +91,7 @@ function NotifyOfNewSong(title, artist, icon)
|
|||
});
|
||||
}
|
||||
} else {
|
||||
Console.error("Desktop notification denied.");
|
||||
console.error("Desktop notification denied.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue