autoscroll now lives in view.js instead of in the plugin itself

This commit is contained in:
sparks-alec
2022-01-15 00:26:42 -05:00
parent 6be6b8d944
commit cfa47f0064
+1 -7
View File
@@ -41,7 +41,7 @@
<% } %>
<% if(cues[j]==data.activeCue+""){ %>
<tr class="active-cue">
<tr class="active-cue scroll-position">
<% }else{ %>
<tr>
<% } %>
@@ -97,12 +97,6 @@
<% } %>
<script>
var $scrollTo = document.getElementsByClassName("active-cue");
if($scrollTo.length==1){
window.scroll({top: $scrollTo[0].offsetTop-200, behavior: 'smooth'});
}
</script>
<%
function prettyDuration(milliseconds, box){