mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-02-13 16:08:41 +00:00
Typo and undefined fix
This commit is contained in:
parent
792a5af85c
commit
26dff65780
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user