]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/jot-header.tpl
Merge branch '2021.03-rc' into copyright-2021
[friendica.git] / view / templates / jot-header.tpl
index aa00c5d98900624b46775628d8a166699ab4bd6a..db2e893e9bb39399729e03477213d9c5383d6e4d 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}}
@@ -103,7 +103,7 @@ function enableOnUser(){
                if(reply && reply.length) {
                        reply = bin2hex(reply);
                        $('#profile-rotator').show();
-                       $.get('parse_url?binurl=' + reply, function(data) {
+                       $.get('parseurl?binurl=' + reply, function(data) {
                                addeditortext(data);
                                $('#profile-rotator').hide();
                        });
@@ -160,7 +160,7 @@ function enableOnUser(){
                if(reply && reply.length) {
                        reply = bin2hex(reply);
                        $('#profile-rotator').show();
-                       $.get('parse_url?binurl=' + reply, function(data) {
+                       $.get('parseurl?binurl=' + reply, function(data) {
                                if (!editor) $("#profile-jot-text").val("");
                                initEditor(function(){
                                        addeditortext(data);