diff options
author | 2013-03-03 22:55:50 +0100 | |
---|---|---|
committer | 2013-03-03 22:55:50 +0100 | |
commit | f3916e73422ace95299fda88a752a18ec642b102 (patch) | |
tree | cea71de3ed4cb63ba94122f9158a0adc809ce9d8 /module/web/static/js/views/fileView.js | |
parent | http auth for the api (diff) | |
download | pyload-f3916e73422ace95299fda88a752a18ec642b102.tar.xz |
more responsive file listing, scales for smaller screen sizes
Diffstat (limited to 'module/web/static/js/views/fileView.js')
-rw-r--r-- | module/web/static/js/views/fileView.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/web/static/js/views/fileView.js b/module/web/static/js/views/fileView.js index 32ce7d723..a8cac9503 100644 --- a/module/web/static/js/views/fileView.js +++ b/module/web/static/js/views/fileView.js @@ -5,7 +5,7 @@ define(['jquery', 'backbone', 'underscore', 'app', 'views/abstract/itemView'], return ItemView.extend({ tagName: 'li', - className: 'file-view', + className: 'file-view row-fluid', // template: _.template($("#template-file").html()), template: _.compile($("#template-file").html()), events: { @@ -67,10 +67,10 @@ define(['jquery', 'backbone', 'underscore', 'app', 'views/abstract/itemView'], visibility_changed: function(visible) { // TODO: improve animation if (visible) - this.$el.slideOut(); + this.$el.slideOut(true); else { this.$el.calculateHeight(true); - this.$el.slideIn(); + this.$el.slideIn(true); } } |