aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/jot.tpl
diff options
context:
space:
mode:
authorfriendica <redmatrix@redmatrix.me>2015-04-17 17:21:10 -0700
committerfriendica <redmatrix@redmatrix.me>2015-04-17 17:21:10 -0700
commit9f35971860e35a70162e469d7812c14ff949bf98 (patch)
tree621b3a34395bfce3a6d6ebc883dcc9a70921d0f3 /view/tpl/jot.tpl
parent3d99a6b5c4b8d754dff0666f7cca84724e0f95d9 (diff)
parentc02ff823f6b84cda431f6ca39701c88d22607b77 (diff)
downloadvolse-hubzilla-9f35971860e35a70162e469d7812c14ff949bf98.tar.gz
volse-hubzilla-9f35971860e35a70162e469d7812c14ff949bf98.tar.bz2
volse-hubzilla-9f35971860e35a70162e469d7812c14ff949bf98.zip
Merge https://github.com/redmatrix/redmatrix into pending_merge
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}}