1
0
mirror of https://github.com/owncloud/bookmarks.git synced 2024-12-02 06:24:11 +01:00

Little bookmark improvement

This commit is contained in:
Marvin Thomas Rabe 2012-02-22 23:58:38 +01:00
parent 4f6a1c63d0
commit 189135ec69
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');