fix rendering a comment textarea in Google Chrome
This commit is contained in:
parent
7e51f22931
commit
acbbe5432f
|
@ -71,6 +71,12 @@ CommentsController = (Comment, Preview, confirmMessage, $scope, compileHTML, $ro
|
||||||
form = $('.open-comment.comment-'+id)
|
form = $('.open-comment.comment-'+id)
|
||||||
if form.length is 1
|
if form.length is 1
|
||||||
form.removeClass('hidden')
|
form.removeClass('hidden')
|
||||||
|
########## Maybe Chrome 43 bug? don't show text in the textarea :(
|
||||||
|
textarea = form.find('.form-group textarea')
|
||||||
|
tmp = textarea.val()
|
||||||
|
textarea.val('')
|
||||||
|
textarea.val(tmp)
|
||||||
|
##########
|
||||||
true
|
true
|
||||||
else
|
else
|
||||||
false
|
false
|
||||||
|
|
Loading…
Reference in New Issue