* Don't toggle the border of marked comments in the admin section
to 2px, to avoid padding. Thanks to hboeck!
This commit is contained in:
parent
b597076aa0
commit
9c30b3068d
@ -3,6 +3,9 @@
|
||||
Version 1.5 ()
|
||||
------------------------------------------------------------------------
|
||||
|
||||
* Don't toggle the border of marked comments in the admin section
|
||||
to 2px, to avoid padding. Thanks to hboeck!
|
||||
|
||||
* Added expermiantel PDO::SQLite transport, by nth
|
||||
|
||||
* Disallow uploading any files with ".php." in the filename
|
||||
|
@ -287,14 +287,33 @@ function invertSelection() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var origborder = '';
|
||||
var origwidth = '';
|
||||
|
||||
function highlightComment(id, checkvalue) {
|
||||
var comment = document.getElementById(id);
|
||||
|
||||
if (origborder == '') {
|
||||
origborder = comment.style.borderColor;
|
||||
if (origborder == '') {
|
||||
origborder = '#FFFFFF';
|
||||
}
|
||||
}
|
||||
|
||||
if (origwidth == '') {
|
||||
origwidth = comment.style.borderWidth;
|
||||
if (origwidth == '' || origwidth == 0) {
|
||||
origwidth = 1;
|
||||
}
|
||||
}
|
||||
|
||||
if (checkvalue) {
|
||||
comment.style.borderColor = '#FF0000';
|
||||
comment.style.borderWidth = 2;
|
||||
comment.style.borderWidth = origwidth;
|
||||
} else {
|
||||
comment.style.borderColor = '';
|
||||
comment.style.borderWidth = '';
|
||||
comment.style.borderWidth = origwidth;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user