mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-28 17:44:52 -04:00
More lazy sunday cleanups of missing semicolons, unused vars and other small thins
This commit is contained in:
parent
a2464dce73
commit
96c338859b
5 changed files with 10 additions and 15 deletions
|
@ -165,8 +165,6 @@ var MM = (function() {
|
|||
if( headerWrapper.length > 0 && newHeader) {
|
||||
headerWrapper[0].innerHTML = newHeader;
|
||||
}
|
||||
|
||||
|
||||
};
|
||||
|
||||
/* hideModule(module, speed, callback)
|
||||
|
@ -219,7 +217,7 @@ var MM = (function() {
|
|||
|
||||
// remove lockString if set in options.
|
||||
if (options.lockString) {
|
||||
var index = module.lockStrings.indexOf(options.lockString)
|
||||
var index = module.lockStrings.indexOf(options.lockString);
|
||||
if ( index !== -1) {
|
||||
module.lockStrings.splice(index, 1);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue