From 32e6b5ba51e80765f6dc1abd49d5499b2bf60a49 Mon Sep 17 00:00:00 2001 From: j Date: Sat, 5 Dec 2020 13:08:57 +0100 Subject: [PATCH] move around --- static/js/cccc.js | 11 +++++++---- static/ptz.html | 6 +++--- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/static/js/cccc.js b/static/js/cccc.js index 3f36f01..5998dc0 100644 --- a/static/js/cccc.js +++ b/static/js/cccc.js @@ -699,15 +699,16 @@ function init_ptz() { api('getPresets', {}, function(response) { presets = response.result.presets var id = 1 + $('
').appendTo($(ptz)) presetSelect(true).on({ change: event => { id = parseInt(event.target.value) var preset = getPreset(id) name.val(preset ? preset.name : '') } - }).appendTo($('body')) + }).appendTo($(ptz)) $(' @@ -47,9 +47,9 @@
- Speed: + Speed: + Duration:
- Duration: