Loading openflexure_microscope/api/static/src/components/tabContentComponents/galleryContent.vue +6 −0 Original line number Diff line number Diff line Loading @@ -134,7 +134,9 @@ :prev-text="'Prev'" :next-text="'Next'" :page-class="'page-item'" :active-class="'uk-active'" :disabled-class="'uk-disabled'" :click-handler="scrollToTop()" > </Paginate> </div> Loading Loading @@ -339,6 +341,10 @@ export default { }, methods: { scrollToTop() { document.querySelector("#container-left").scrollTop = 0; }, updateCaptures: function() { if (this.$store.state.available) { console.log("Updating capture list..."); Loading openflexure_microscope/api/static/src/components/tabContentComponents/loggingContent.vue +4 −0 Original line number Diff line number Diff line Loading @@ -62,6 +62,7 @@ :page-class="'page-item'" :active-class="'uk-active'" :disabled-class="'uk-disabled'" :click-handler="scrollToTop()" > </Paginate> </div> Loading Loading @@ -109,6 +110,9 @@ export default { }, methods: { scrollToTop() { document.querySelector("#container-left").scrollTop = 0; }, visibilityChanged(isVisible) { if (isVisible) { this.updateLogs(); Loading Loading
openflexure_microscope/api/static/src/components/tabContentComponents/galleryContent.vue +6 −0 Original line number Diff line number Diff line Loading @@ -134,7 +134,9 @@ :prev-text="'Prev'" :next-text="'Next'" :page-class="'page-item'" :active-class="'uk-active'" :disabled-class="'uk-disabled'" :click-handler="scrollToTop()" > </Paginate> </div> Loading Loading @@ -339,6 +341,10 @@ export default { }, methods: { scrollToTop() { document.querySelector("#container-left").scrollTop = 0; }, updateCaptures: function() { if (this.$store.state.available) { console.log("Updating capture list..."); Loading
openflexure_microscope/api/static/src/components/tabContentComponents/loggingContent.vue +4 −0 Original line number Diff line number Diff line Loading @@ -62,6 +62,7 @@ :page-class="'page-item'" :active-class="'uk-active'" :disabled-class="'uk-disabled'" :click-handler="scrollToTop()" > </Paginate> </div> Loading Loading @@ -109,6 +110,9 @@ export default { }, methods: { scrollToTop() { document.querySelector("#container-left").scrollTop = 0; }, visibilityChanged(isVisible) { if (isVisible) { this.updateLogs(); Loading