Add jquery-autogrow
This commit is contained in:
parent
4d8a90a606
commit
c131c0d6a9
|
@ -31,7 +31,7 @@
|
||||||
</div>
|
</div>
|
||||||
<form action="/save/redirect" method="post" class="form-horizontal">
|
<form action="/save/redirect" method="post" class="form-horizontal">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<div class="well" style="padding-top: 10px;">
|
<div class="well" style="padding-top: 10px; resize: both;">
|
||||||
<div class="form-group is-empty" style="margin-top: 0px;">
|
<div class="form-group is-empty" style="margin-top: 0px;">
|
||||||
<textarea class="form-control" rows="1" id="textArea" name="title" placeholder="Title"></textarea>
|
<textarea class="form-control" rows="1" id="textArea" name="title" placeholder="Title"></textarea>
|
||||||
<span class="help-block">Paste Title</span>
|
<span class="help-block">Paste Title</span>
|
||||||
|
@ -470,8 +470,11 @@
|
||||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/bootstrap.material-design/0.5.10/js/material.min.js" integrity="sha256-uZbIqasulk7Y9yEwknbeQ0FpF3aUhtPwuggbpvQaI8Y=" crossorigin="anonymous"></script>
|
<script src="https://cdn.jsdelivr.net/bootstrap.material-design/0.5.10/js/material.min.js" integrity="sha256-uZbIqasulk7Y9yEwknbeQ0FpF3aUhtPwuggbpvQaI8Y=" crossorigin="anonymous"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/bootstrap.material-design/0.5.10/js/ripples.min.js" integrity="sha256-TY/EO/++Ug/P+fSBjaqlmtuphCBKwlP7TOnS+SGnN8g=" crossorigin="anonymous"></script>
|
<script src="https://cdn.jsdelivr.net/bootstrap.material-design/0.5.10/js/ripples.min.js" integrity="sha256-TY/EO/++Ug/P+fSBjaqlmtuphCBKwlP7TOnS+SGnN8g=" crossorigin="anonymous"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/jquery.autogrow/1.2.2/jquery.autogrow.js" integrity="sha256-8H/2fCPoOgvOvmhYev7r2W5Da/DPE4LtydA7EMqngBQ=" crossorigin="anonymous"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
$.material.init();
|
$.material.init();
|
||||||
|
$('textarea').autogrow();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Reference in New Issue