LSformElement_textarea : fix clear btn/Grammalecte compatibility

This commit is contained in:
Benjamin Renard 2018-10-01 14:57:42 +02:00
parent 92425e7554
commit 62e71c2c6b

View file

@ -21,7 +21,7 @@ var LSformElement_textarea = new Class({
},
onClearBtnClick: function(btn) {
btn.getPrevious().value='';
btn.getPrevious('textarea').value='';
},
reinitialize: function(el) {