From 2462d34a4260c2a702e2a68529af8d21fb91dd76 Mon Sep 17 00:00:00 2001 From: Brice Maron Date: Tue, 6 Nov 2012 21:05:30 +0000 Subject: [PATCH] Bookmark: Remove depr. function fillWindow, ref #73 Thanks Raydiation for the hint --- css/bookmarks.css | 7 +++++-- js/bookmarks.js | 5 +---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/css/bookmarks.css b/css/bookmarks.css index aa83227a..851f052d 100644 --- a/css/bookmarks.css +++ b/css/bookmarks.css @@ -33,8 +33,11 @@ input.disabled, input.disabled:hover { .bookmarks_list { overflow: auto; - position: fixed; - top: 6.5em; + -moz-box-sizing: border-box; + box-sizing: border-box; + padding-top: 3em; + width: 100%; + height: 100%; } #add_url { diff --git a/js/bookmarks.js b/js/bookmarks.js index 189765e2..a3af1075 100644 --- a/js/bookmarks.js +++ b/js/bookmarks.js @@ -10,11 +10,8 @@ $(document).ready(function() { $('#settingsbtn').on('click keydown', toggleSettings); $('#bm_export').click(exportBm); - $(window).resize(function () { - fillWindow($('.bookmarks_list')); - }); $(window).resize(); - $('.bookmarks_list').scroll(updateOnBottom).empty().width($('#rightcontent').width()); + $('.bookmarks_list').scroll(updateOnBottom).empty(); $('#tag_filter input').tagit({ allowSpaces: true, availableTags: fullTags,