"Move /all button" fix and minor refactoring.

This commit is contained in:
Alexey Skobkin 2016-05-13 03:56:34 +03:00
parent b2fc048450
commit 207dff9e67
2 changed files with 7 additions and 1 deletions

View file

@ -216,3 +216,9 @@ div#markItUpText-input {
background-position: 0 0;
}
}
/* "All" link in left menu */
#pp-left-menu-all {
/* Opened Lock icon from default point.im icon set */
background-image: url("/img/icon-private-inactive.png") !important;
}

View file

@ -52,7 +52,7 @@ function PointPlus(ppVersion) {
// Move "all posts" to left menu
if (options.is('option_other_move_all_to_menu')) {
$('div.secret a').insertAfter('a#menu-recent').css('background-image','url("img/icon-private-inactive.png")');
$('div.secret a').insertAfter('a#menu-recent').attr({'id': 'pp-left-menu-all'});
}
// Side panel