qßgqßk
This commit is contained in:
@@ -32,30 +32,29 @@ ADisDB.on("ready", () => {
|
||||
|
||||
//console.log(ADisDB);
|
||||
//console.log(ADisSettings('Krankentransport-Automatic'));
|
||||
|
||||
// -
|
||||
// - Google Font
|
||||
// -
|
||||
|
||||
var styleElement = document.createElement("link");
|
||||
styleElement.rel = "stylesheet";
|
||||
styleElement.href = "https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700";
|
||||
ADis_MyHead.appendChild(styleElement);
|
||||
|
||||
// -
|
||||
// - FontAwesome 5
|
||||
// -
|
||||
|
||||
var scriptElement = document.createElement("script");
|
||||
scriptElement.type = "text/javascript";
|
||||
scriptElement.src = "https://use.fontawesome.com/releases/v5.5.0/js/all.js";
|
||||
ADis_MyHead.appendChild(scriptElement);
|
||||
|
||||
// -
|
||||
// - Navbar Dashboard
|
||||
// -
|
||||
|
||||
if (window.location.pathname === "/" || window.location.pathname === "/#") {
|
||||
// -
|
||||
// - Google Font
|
||||
// -
|
||||
|
||||
var styleElement = document.createElement("link");
|
||||
styleElement.rel = "stylesheet";
|
||||
styleElement.href = "https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700";
|
||||
ADis_MyHead.appendChild(styleElement);
|
||||
|
||||
// -
|
||||
// - FontAwesome 5
|
||||
// -
|
||||
|
||||
var scriptElement = document.createElement("script");
|
||||
scriptElement.type = "text/javascript";
|
||||
scriptElement.src = "https://use.fontawesome.com/releases/v5.5.0/js/all.js";
|
||||
ADis_MyHead.appendChild(scriptElement);
|
||||
|
||||
// -
|
||||
// - Navbar Dashboard
|
||||
// -
|
||||
|
||||
//=require ../script/interface.js
|
||||
var styleElement = document.createElement("link");
|
||||
styleElement.rel = "stylesheet";
|
||||
@@ -65,23 +64,6 @@ ADisDB.on("ready", () => {
|
||||
ADis_MyHead.appendChild(styleElement);
|
||||
}
|
||||
|
||||
// -
|
||||
// - Load Automatic Modes
|
||||
// - Load Opener
|
||||
// -
|
||||
|
||||
function ADis_UpdateOwnMissionsToDone(MissionID, updateData) {
|
||||
if (typeof updateData != 'undefined') {
|
||||
return ADisDB.ADisMissionsOwn.put({
|
||||
missionID: MissionID
|
||||
}, updateData).catch((err) => {})
|
||||
}
|
||||
return ADisDB.ADisMissionsOwn.put({
|
||||
missionID: MissionID,
|
||||
done: 'true'
|
||||
}).catch((err) => {})
|
||||
}
|
||||
|
||||
//=require ../script/mission.js
|
||||
//=require ../script/sprechwunsch.js
|
||||
|
||||
|
||||
Reference in New Issue
Block a user