border-right
doesn't work if used on posts with mentions, border-left
is ok
parent
ef326b4c8f
commit
9acda86301
1 changed files with 8 additions and 8 deletions
16
Plugins.md
16
Plugins.md
|
@ -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;
|
||||
}
|
||||
```
|
||||
|
|
Reference in a new issue