* refactor autoResize textarea.
This commit is contained in:
@@ -130,15 +130,6 @@ $(document).on('mousedown', 'select', function()
|
||||
}
|
||||
})
|
||||
|
||||
if(navigator.userAgent.indexOf("Firefox") < 0)
|
||||
{
|
||||
$(document).on('input keyup paste change', 'textarea.autosize', function()
|
||||
{
|
||||
this.style.height = 'auto';
|
||||
this.style.height = (this.scrollHeight + 2) + "px";
|
||||
});
|
||||
}
|
||||
|
||||
$(document).keydown(function(event)
|
||||
{
|
||||
if(event.ctrlKey && event.keyCode == 38)
|
||||
|
||||
Reference in New Issue
Block a user