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
$("ol").delegate('a', 'click dblclick', function(e) {
e.stopPropagation();
e.stopPropagation();
}).delegate('li', 'dblclick', function(e) {
var li = $(this);
if(li.hasClass("selected")) {
li.removeClass("selected");
} else {
li.addClass("selected");
}
var li = $(this);
if(li.hasClass("selected")) {
li.removeClass("selected");
} else {
li.addClass("selected");
}
});
```
@ -56,6 +56,6 @@ And add this to your CSS plugin file.
``` css
.selected {
border-right: 5px solid green;
border-left: 5px solid green;
}
```