css-klasse "uhr" automatisch hinzufügen"
This commit is contained in:
parent
f8b22dccc3
commit
c8e24d1314
2 changed files with 2 additions and 1 deletions
|
@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="uhr" class="uhr"></div>
|
||||
<div id="uhr"></div>
|
||||
<p id="disclaimer">Created by fritteli, inspired by <a href="http://www.qlocktwo.com/">QLOCKTWO</a>.
|
||||
<script type="text/javascript" src="uhr-de_CH.js"></script>
|
||||
<script type="text/javascript" src="uhr-de.js"></script>
|
||||
|
|
1
uhr.js
1
uhr.js
|
@ -155,6 +155,7 @@ Uhr.prototype.createHTMLElements = function(clockarea) {
|
|||
this.createThemeSwitch();
|
||||
}
|
||||
Uhr.prototype.createClockarea = function(clockarea) {
|
||||
clockarea.addClass('uhr');
|
||||
clockarea.empty();
|
||||
clockarea.append('<span class="item dot dot1"></span>');
|
||||
clockarea.append('<span class="item dot dot2"></span>');
|
||||
|
|
Loading…
Reference in a new issue