aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/jot.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-04-17 11:20:22 +0200
committerMario Vavti <mario@mariovavti.com>2015-04-17 11:20:22 +0200
commit61e4ee753dd0e823c47a5cf2e485f7f69fb4d125 (patch)
tree59479f4c5baf7e57d7ff56e8b2f21462db6c25f5 /view/tpl/jot.tpl
parent10cc643f650b5ff0954ff988fbf768ea5e061571 (diff)
downloadvolse-hubzilla-61e4ee753dd0e823c47a5cf2e485f7f69fb4d125.tar.gz
volse-hubzilla-61e4ee753dd0e823c47a5cf2e485f7f69fb4d125.tar.bz2
volse-hubzilla-61e4ee753dd0e823c47a5cf2e485f7f69fb4d125.zip
allow jot to be displayed expanded, remove deprected datetimepicker js and some random fixes
Diffstat (limited to 'view/tpl/jot.tpl')
-rwxr-xr-xview/tpl/jot.tpl15
1 files changed, 1 insertions, 14 deletions
diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl
index 24fea70f1..2fcd4d59b 100755
--- a/view/tpl/jot.tpl
+++ b/view/tpl/jot.tpl
@@ -176,20 +176,7 @@
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
-<script type="text/javascript">
- $(function() {
- $('#datetimepicker1').datetimepicker({
- language: 'us',
- icons: {
- time: "icon-time",
- date: "icon-calendar",
- up: "icon-arrow-up",
- down: "icon-arrow-down"
- }
- });
- });
-</script>
-{{if $content}}
+{{if $content || $attachment || $expanded}}
<script>initEditor();</script>
{{/if}}