mirror of https://github.com/zulip/zulip.git
Automatically resize the compose box
(imported from commit 7e9cb632bdca47fee6ad0897a55d1d3c004c34b3)
This commit is contained in:
parent
3c4ddfdaf9
commit
af065005fc
|
@ -31,6 +31,7 @@
|
|||
<script type="text/javascript" src="{{ static_third }}jquery-mousewheel/jquery.mousewheel.js"></script>
|
||||
<script type="text/javascript" src="{{ static_third }}jquery-throttle-debounce/jquery.ba-throttle-debounce.min.js"></script>
|
||||
<script type="text/javascript" src="{{ static_third }}jquery.idle/jquery.idle.js"></script>
|
||||
<script type="text/javascript" src="{{ static_third }}jquery-autosize/jquery.autosize.js"></script>
|
||||
<script type="text/javascript" src="{{ static_hidden }}js/setup.js"></script>
|
||||
<script type="text/javascript" src="{{ static_hidden }}js/rows.js"></script>
|
||||
<script type="text/javascript" src="{{ static_hidden }}js/narrow.js"></script>
|
||||
|
|
|
@ -242,6 +242,10 @@ exports.validate = function () {
|
|||
}
|
||||
};
|
||||
|
||||
$(function () {
|
||||
$("#new_message_content").autosize();
|
||||
});
|
||||
|
||||
return exports;
|
||||
|
||||
}());
|
||||
|
|
Loading…
Reference in New Issue