diff options
author | Ciaran Gallagher <[email protected]> | 2019-11-30 18:30:35 +0000 |
---|---|---|
committer | Ciaran Gallagher <[email protected]> | 2019-11-30 18:30:35 +0000 |
commit | 190bc76a470b9eae702f9672782b4ff15ddcb9ce (patch) | |
tree | 47d8f5fcb157ea4e1cc26e37f82b173df025584e /js | |
parent | 909cbdb69d31a34ab37d33c0cb61f5cbe1db5d32 (diff) | |
download | pasta-190bc76a470b9eae702f9672782b4ff15ddcb9ce.tar.gz pasta-190bc76a470b9eae702f9672782b4ff15ddcb9ce.zip |
Style and animation transitions
Diffstat (limited to 'js')
-rw-r--r-- | js/main.js | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -360,11 +360,11 @@ async function setAudioStream(partsId, streamId, row) { }, "success": (data) => { //console.log("success"); - $(row).siblings().removeClass("table-active").removeClass("table-success"); + $(row).siblings().removeClass("table-active"); $(row).addClass("table-active").addClass("success-transition"); - setTimeout(function() { + setTimeout(() => { $(row).removeClass('success-transition'); - }, 100); + }, 1500); }, "error": (data) => { console.log("ERROR L283"); @@ -526,11 +526,11 @@ async function setSubtitleStream(partsId, streamId, row) { }, "success": (data) => { //console.log("success"); - $(row).siblings().removeClass("table-active").removeClass("table-success"); + $(row).siblings().removeClass("table-active"); $(row).addClass("table-active").addClass("success-transition"); - setTimeout(function() { + setTimeout(() => { $(row).removeClass('success-transition'); - }, 100); + }, 1500); }, "error": (data) => { console.log("ERROR L449"); |