Replace obsolete calls to $APP->is_mobile in templates
[friendica.git/.git] / view / templates / jot-header.tpl
index aa00c5d..8f9d59d 100644 (file)
@@ -8,7 +8,7 @@ var textlen = 0;
 function initEditor(callback) {
        if (editor == false) {
                var  colorbox_options = {
-                       {{if $APP->is_mobile}}
+                       {{if $is_mobile}}
                        'width' : '100%',
                        'height' : '100%',
                        {{/if}}