From 60e68ffeaff8c0dc8ef43648e4608e6ffa09208c Mon Sep 17 00:00:00 2001 From: manuel Date: Thu, 3 Jul 2014 21:18:27 +0200 Subject: [PATCH] renamed _id to id --- js/uhr.js | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/js/uhr.js b/js/uhr.js index aa823be..3a26c6d 100644 --- a/js/uhr.js +++ b/js/uhr.js @@ -97,7 +97,7 @@ along with this program. If not, see . var setTheme = function setTheme(theme) { if (theme !== this.options.theme) { this.element.removeClass(this.options.theme).addClass(theme); - $('#uhr-onoffswitch' + this._id).removeClass(this.options.theme).addClass(theme); + $('#uhr-onoffswitch' + this.id).removeClass(this.options.theme).addClass(theme); this.options.theme = theme; setCookie(this, 'uhr-theme', theme); } @@ -117,7 +117,7 @@ along with this program. If not, see . // private interface methods var create = function create() { - this._id = uhrGlobals.id++; + this.id = uhrGlobals.id++; this.timer = null; this._currentMinute = -1; var userTime = this.options.time; @@ -151,9 +151,9 @@ along with this program. If not, see . if (uhr.options.controls) { // on/off switch - var toggleSwitch = $('
'); - toggleSwitch.append(''); - toggleSwitch.append('