Automatically resize the compose box

(imported from commit 7e9cb632bdca47fee6ad0897a55d1d3c004c34b3)
This commit is contained in:
Keegan McAllister 2012-10-23 22:02:39 -04:00
parent 3c4ddfdaf9
commit af065005fc
2 changed files with 5 additions and 0 deletions

View File

@ -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>

View File

@ -242,6 +242,10 @@ exports.validate = function () {
}
};
$(function () {
$("#new_message_content").autosize();
});
return exports;
}());