netclock/worldclock/templates/worldclock/create.js
Armin Friedl 43178784d9
Some checks failed
continuous-integration/drone/push Build is failing
Reformatting, new gitignore
2020-10-26 11:07:42 +01:00

11 lines
283 B
JavaScript

import log from 'loglevel';
import $ from 'jquery';
import './create.scss';
let subclocks = $("#subclocks");
$("#subclock-selection-add").click((ev) => {
let tz = $("#subclock-selection-timezone").val();
subclocks.append(`<input type="text" value="${tz}" readonly>`);
});