From de06232c3fba4092073fc288e7ad687dad5413e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFs=20Poujade?= <lois.poujade@tetras-libre.fr> Date: Thu, 14 Apr 2022 10:51:36 +0200 Subject: [PATCH] cleaning --- capsule-prototype/index.html | 3 --- capsule-prototype/js/online-script.js | 7 ------- 2 files changed, 10 deletions(-) diff --git a/capsule-prototype/index.html b/capsule-prototype/index.html index 9e90a1b..bc1796f 100644 --- a/capsule-prototype/index.html +++ b/capsule-prototype/index.html @@ -186,10 +186,7 @@ <textarea class="popupInput" id="popupLinkInput" type="text"></textarea> <div class="popupRightItem" id="popupSpeed" title="Speed"></div> - <!--<textarea class="popupInput" id="popupSpeedInput" type="text"></textarea>--> <input type='range' min='0' max='4' class='popupInput' id='popupSpeedInput' /> - - <!-- <div class="popupRightItem separationHDark editmode"></div> --> </td> </tr> </table> diff --git a/capsule-prototype/js/online-script.js b/capsule-prototype/js/online-script.js index 937e745..53d7f7f 100644 --- a/capsule-prototype/js/online-script.js +++ b/capsule-prototype/js/online-script.js @@ -1005,13 +1005,6 @@ bgColorLeft = getTagGradientColor(tag); var speed = tag.getMetadata("Rekall->Speed"); if((speed)&&(speed!="")) $("#popupSpeed").html(get_str_for_speed(speed)).removeClass("empty"); else $("#popupSpeed").html("+ Set video speed during this annotation").addClass("empty"); - /* - if ((speed)&&(speed!="")) { - $("#popupSpeed").removeClass("empty") - $("popupSpeedInput").val(Number(speed)); - $("popupSpeedInput").css('display', 'inline-block'); - } else $("#popupSpeed").html("+ Set video speed during this annotation").addClass("empty"); - */ var comments = tag.getMetadata("Rekall->Comments"); if((comments)&&(comments!="")) $("#popupLegende").html(comments).removeClass("empty"); -- GitLab