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 = $('