Skip to content

Commit

Permalink
Bereinigung bei Variablen
Browse files Browse the repository at this point in the history
nicht benutzte Variablen d + host + lFehlersuche entfernt
nicht deklarierte MApreferences jetzt deklariert
  • Loading branch information
BFallert committed Mar 4, 2015
1 parent e05488d commit 7260093
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions data/js/erzeuge-home-button.js
Expand Up @@ -8,16 +8,16 @@ self.port.on("InfoTerminalStartseite", function(AktInfoTerminalStartseiteAufrufe
console.log( "---------------------------START self.port.on InfoTerminalStartseite -----------------------" );
console.log(AktInfoTerminalStartseiteAufrufenWebadresse);

var d = document;
var host = d.location.host;
//var d = document;
//var host = d.location.host;
//------------------------------------------------------------------------------
// Fuer Pruefung auf RufeExterneURL.php und UB3D
//------------------------------------------------------------------------------
//var ScriptName = d.location.pathname;

var lZeigeButton = true;

var lFehlersuche = false;
//var lFehlersuche = false;
//var lFehlersuche = true;


Expand All @@ -39,7 +39,7 @@ self.port.on("InfoTerminalStartseite", function(AktInfoTerminalStartseiteAufrufe

if (!isInIframe) {
document.body.insertBefore(div, document.body.firstChild);
};
}
}
console.log( "---------------------------ENDE self.port.on InfoTerminalStartseite -----------------------" );

Expand Down
2 changes: 1 addition & 1 deletion lib/main.js
Expand Up @@ -6,7 +6,7 @@ var utils = require('sdk/window/utils');
var windows = require("sdk/windows");


MApreferences = require("sdk/simple-prefs").prefs;
var MApreferences = require("sdk/simple-prefs").prefs;
//console.log(MApreferences.InfoTerminalStartseiteAufrufenWebadresse);
var AktInfoTerminalStartseiteAufrufenWebadresse = MApreferences.InfoTerminalStartseiteAufrufenWebadresse;

Expand Down

0 comments on commit 7260093

Please sign in to comment.