Little bookmark improvement

This commit is contained in:
Marvin Thomas Rabe 2012-02-22 23:58:38 +01:00
parent 358fd1c024
commit 196d619689
2 changed files with 4 additions and 1 deletions

View File

@ -30,6 +30,9 @@ function getBookmarks() {
updateBookmarksList(bookmarks.data[i]);
$("#firstrun").hide();
}
if($('.bookmarks_list').is(':empty')) {
$("#firstrun").show();
}
$('.bookmark_link').click(recordClick);
$('.bookmark_delete').click(delBookmark);

View File

@ -17,7 +17,7 @@
</div>
<div class="bookmarks_list">
</div>
<div id="firstrun">
<div id="firstrun" style="display: none;">
<?php
echo $l->t('You have no bookmarks');
require_once('bookmarklet.php');