possible fix for empty commentbox colapsing on tool-button click

This commit is contained in:
marijus
2014-05-24 17:50:09 +02:00
parent 1879a8b747
commit bf88720fae
3 changed files with 20 additions and 13 deletions

View File

@@ -1,3 +1,13 @@
function commentCloseRed(obj,id) {
$(document).click(function() {
if(obj.value == '') {
obj.value = aStr['comment'];
$("#comment-edit-text-" + id).removeClass("comment-edit-text-full").addClass("comment-edit-text-empty");
$("#comment-tools-" + id).hide();
}
});
}
$(document).ready(function() {
$('#expand-aside').click(function() {