summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeterTheOne <petertheone@gmail.com>2015-09-04 22:56:20 (GMT)
committerPeterTheOne <petertheone@gmail.com>2015-09-04 22:56:20 (GMT)
commit97287ca08e0a90dfcbe87a797e219c97b418a16d (patch)
tree467a7ae8abd0de094333f0795d8f787425d0b453
parent835154c209a03e76b2591527bcdd32e5a6e75110 (diff)
fix logout bug
-rw-r--r--www/js/jingles.js10
1 files changed, 8 insertions, 2 deletions
diff --git a/www/js/jingles.js b/www/js/jingles.js
index 7e3fb01..be739b4 100644
--- a/www/js/jingles.js
+++ b/www/js/jingles.js
@@ -30,8 +30,10 @@ function jingles_init() {
}
function jingles_cleanup() {
- jinglesGroupList.destroy();
- jinglesGroupList = null;
+ if (jinglesGroupList) {
+ jinglesGroupList.destroy();
+ jinglesGroupList = null;
+ }
}
var JingleGroupList = function() {
@@ -91,6 +93,10 @@ JingleGroupList.prototype.render = function() {
});
};
+JingleGroupList.prototype.destroy = function() {
+ // todo: implement
+};
+
var JingleGroup = function(title, groupName, description, lowcart, highcart, normlevel, trimlevel) {
this.title = title;
this.groupName = groupName;