Typo and undefined fix

This commit is contained in:
Dennis Eichhorn 2015-12-20 22:22:47 +01:00
parent 792a5af85c
commit 26dff65780
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@
*/ */
jsOMS.ModuleManager.prototype.get = function (module) jsOMS.ModuleManager.prototype.get = function (module)
{ {
if (this.modules[module] === 'undefined') { if (this.modules[module] === undefined) {
this.modules[module] = jsOMS.ModuleFactory.getInstance(module, this.app); this.modules[module] = jsOMS.ModuleFactory.getInstance(module, this.app);
} }

View File

@ -38,7 +38,7 @@
} else { } else {
var tables = document.querySelectorAll('.tables'); var tables = document.querySelectorAll('.tables');
for (var i = 0; i < tabs.length; i++) { for (var i = 0; i < tables.length; i++) {
this.bindElement(tables[i]); this.bindElement(tables[i]);
} }
} }