mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fixes #544 - No warning being given when running IE in compatibility mode
This commit is contained in:
parent
44e59e7215
commit
815f1d7342
2 changed files with 21 additions and 21 deletions
|
@ -1114,11 +1114,6 @@ var Dashboard = {
|
|||
|
||||
};
|
||||
|
||||
if (!window.WebSocket) {
|
||||
|
||||
alert("This browser does not support web sockets. For a better experience, try a newer browser such as Chrome (android, desktop), Firefox, IE10, Safari (iOS) or Opera.");
|
||||
}
|
||||
|
||||
var ApiClient = MediaBrowser.ApiClient.create("Dashboard", window.dashboardVersion);
|
||||
|
||||
$(ApiClient).on("websocketmessage", Dashboard.onWebSocketMessageReceived);
|
||||
|
@ -1164,10 +1159,6 @@ $(function () {
|
|||
footerHtml += '</div>';
|
||||
|
||||
$(document.body).append(footerHtml);
|
||||
|
||||
if (!IsStorageEnabled()) {
|
||||
alert("This browser does not support local storage or is running in private mode. For a better experience, try a newer browser such as Chrome (android, desktop), Firefox, IE10, Safari (iOS) or Opera.");
|
||||
}
|
||||
|
||||
$(window).on("beforeunload", function () {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue