diff options
Diffstat (limited to 'static/js/journal.js')
-rw-r--r-- | static/js/journal.js | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/static/js/journal.js b/static/js/journal.js index fe6d4fe..e69de29 100644 --- a/static/js/journal.js +++ b/static/js/journal.js @@ -1,28 +0,0 @@ -new SmoothScroll('a#globalBackToTop'); - -Vue.component('parent',{ - props:['name','type'], - data: function () { - return { - isHidden: true - } - }, - template: ` - <div class="a-block" :class="type" v-on:click="isHidden = !isHidden"> - {{ name }} - <div class="nav-link-subitem" v-if="!isHidden"> - <slot></slot> - </div> - </div> - ` -}); - -$().ready(function(){ - var elems = $("table"); - elems.each(function(idx){ - $(this).addClass('table-striped'); - $(this).addClass('table'); - $(this).addClass('table-responsive'); - $(this).addClass('table-hover'); - }); -});
\ No newline at end of file |