Merge branch 'develop' of /var/lib/git/repositories/manuel/uhr
This commit is contained in:
commit
04d732a54b
2 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
||||||
CACHE MANIFEST
|
CACHE MANIFEST
|
||||||
# 3.0.4
|
# 3.0.5
|
||||||
|
|
||||||
COPYING
|
COPYING
|
||||||
index.html
|
index.html
|
||||||
|
|
6
uhr.js
6
uhr.js
|
@ -78,11 +78,11 @@ Uhr.prototype.setTheme = function(theme) {
|
||||||
Uhr.prototype.update = function() {
|
Uhr.prototype.update = function() {
|
||||||
if (this.isOn()) {
|
if (this.isOn()) {
|
||||||
var now = new Date();
|
var now = new Date();
|
||||||
var dotMinute = this.getDotMinute(now);
|
if (now.getMinutes() == this.currentMinute) {
|
||||||
if (dotMinute == this.currentMinute) {
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.currentMinute = dotMinute;
|
this.currentMinute = now.getMinutes();
|
||||||
|
var dotMinute = this.getDotMinute(now);
|
||||||
var hour = this.getHour(now);
|
var hour = this.getHour(now);
|
||||||
var coarseMinute = this.getCoarseMinute(now);
|
var coarseMinute = this.getCoarseMinute(now);
|
||||||
this.clear();
|
this.clear();
|
||||||
|
|
Loading…
Reference in a new issue