border-right doesn't work if used on posts with mentions, border-left is ok

noformnocontent 2012-12-28 11:16:36 -08:00
parent ef326b4c8f
commit 9acda86301

@ -41,14 +41,14 @@ You can use the embeded jQuery too, here for example a plugin which lets you mar
``` js ``` js
$("ol").delegate('a', 'click dblclick', function(e) { $("ol").delegate('a', 'click dblclick', function(e) {
e.stopPropagation(); e.stopPropagation();
}).delegate('li', 'dblclick', function(e) { }).delegate('li', 'dblclick', function(e) {
var li = $(this); var li = $(this);
if(li.hasClass("selected")) { if(li.hasClass("selected")) {
li.removeClass("selected"); li.removeClass("selected");
} else { } else {
li.addClass("selected"); li.addClass("selected");
} }
}); });
``` ```
@ -56,6 +56,6 @@ And add this to your CSS plugin file.
``` css ``` css
.selected { .selected {
border-right: 5px solid green; border-left: 5px solid green;
} }
``` ```