pretty updates :)

This commit is contained in:
Henrique Dias committed 2017-06-28 19:26:07 +01:00
1 parent 9adada3067
commit 7aa6a549f9
8 files changed
+71 -80

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
<template>
<button title="Info" aria-label="Info" class="action" id="info">
<i class="material-icons">info</i>
<span>Info</span>
</button>
</template>
<script>
export default {
name: 'info-button',
data: function () {
return window.info.page.data
}
}
</script>
+4 -2
View File
@@ -16,6 +16,8 @@
</template>
<script>
import page from '../page'
// Remove the last directory of an url
var removeLastDirectoryPartOf = function (url) {
var arr = url.split('/')
@@ -109,8 +111,7 @@ export default {
conn.onclose = (event) => {
this.$el.classList.remove('ongoing')
// TODO: if is listing!
// listing.reload()
page.reload()
}
return
@@ -132,6 +133,7 @@ export default {
conn.onclose = () => {
this.$el.classList.remove('ongoing')
page.reload()
}
}
}