update für Laptop
This commit is contained in:
@@ -44,8 +44,8 @@
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
let defaultThemeClass = 'black';
|
||||
let currentThemeClass = localStorage.getItem("currentTheme");
|
||||
var defaultThemeClass = 'black';
|
||||
var currentThemeClass = localStorage.getItem("currentTheme");
|
||||
if (!currentThemeClass) {
|
||||
currentThemeClass = defaultThemeClass;
|
||||
}
|
||||
@@ -123,7 +123,8 @@
|
||||
console.log("init started");
|
||||
initPromise = new Promise(function (resolve) {
|
||||
if (typeof Map === "undefined") {
|
||||
window.Map = function () {
|
||||
console.log("defining maps");
|
||||
window["Map"] = function () {
|
||||
this.get = function (key) {
|
||||
var hash = this.__createHash(key);
|
||||
return this.__map[hash];
|
||||
@@ -240,6 +241,7 @@
|
||||
}
|
||||
|
||||
if (typeof Promise === 'undefined') {
|
||||
console.log("defining promises");
|
||||
// alert("Your Browser is maybe too old to run this site. Please update your browser!");
|
||||
var promiseScript = document.createElement("script");
|
||||
promiseScript.src = "//cdn.jsdelivr.net/bluebird/3.5.0/bluebird.min.js";
|
||||
|
||||
7333
public/js/app.js
7333
public/js/app.js
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user