summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartek Przybylski <bart.p.pl@gmail.com>2012-03-24 19:53:39 +0100
committerBartek Przybylski <bart.p.pl@gmail.com>2012-03-24 19:55:43 +0100
commita3125f164e3bb882ab25f42fee4da9aa691ed8bb (patch)
treed3bb32362efa4729a585f6ddb81c3979c2501f53
parent26fcb35a899fd8566a0e709dfd6b1f8a7d01094c (diff)
downloadnextcloud-server-a3125f164e3bb882ab25f42fee4da9aa691ed8bb.tar.gz
nextcloud-server-a3125f164e3bb882ab25f42fee4da9aa691ed8bb.zip
bookmarks tag placement & list width fix
-rw-r--r--apps/bookmarks/js/bookmarks.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/bookmarks/js/bookmarks.js b/apps/bookmarks/js/bookmarks.js
index 3557810d4b4..a3a4779d26d 100644
--- a/apps/bookmarks/js/bookmarks.js
+++ b/apps/bookmarks/js/bookmarks.js
@@ -9,9 +9,7 @@ $(document).ready(function() {
fillWindow($('.bookmarks_list'));
});
$(window).resize();
- $($('.bookmarks_list')).scroll(updateOnBottom);
-
- $('.bookmarks_list').empty();
+ $('.bookmarks_list').scroll(updateOnBottom).empty().width($('#content').width());
getBookmarks();
});