]> git.mxchange.org Git - friendica.git/commitdiff
main.js: Remove debug
authorHypolite Petovan <mrpetovan@gmail.com>
Wed, 23 Nov 2016 15:06:42 +0000 (10:06 -0500)
committerHypolite Petovan <mrpetovan@gmail.com>
Wed, 23 Nov 2016 15:06:42 +0000 (10:06 -0500)
js/main.js

index 958b0a8ae3c8d74b92671b203f5b694f9ab4d42e..b2a4dfe35cf71bd06a6a1d692df18d4de45bf187 100644 (file)
@@ -92,7 +92,6 @@
                /* event from comment textarea button popups */
                /* insert returned bbcode at cursor position or replace selected text */
                $("body").on("fbrowser.image.comment", function(e, filename, bbcode, id) {
-                       console.log("on", id);
                        $.colorbox.close();
                        var textarea = document.getElementById("comment-edit-text-" +id);
                        var start = textarea.selectionStart;
                        $("#"+id+"_onoff ."+ (val==0?"on":"off")).addClass("hidden");
                        $("#"+id+"_onoff ."+ (val==1?"on":"off")).removeClass("hidden");
                        input.val(val);
-                       //console.log(id);
                });
 
                /* setup field_richtext */
                                $("#nav-notifications-linkmenu").removeClass("on");
                        }
 
-                       console.log(data.sysmsgs);
-
                        $(data.sysmsgs.notice).each(function(key, message){
                                $.jGrowl(message, {sticky: true, theme: 'notice'});
                        });
                // page number
                infinite_scroll.pageno+=1;
 
-               console.log('Loading page ' + infinite_scroll.pageno);
-
                // get the raw content from the next page and insert this content
                // right before "#conversation-end"
                $.get('network?mode=raw' + infinite_scroll.reload_uri + '&page=' + infinite_scroll.pageno, function(data) {