Commit 76ea9384 authored by Zach Copley's avatar Zach Copley

Remove billions of debugging statements and extra space

parent ee799927
...@@ -95,7 +95,6 @@ var SN = { // StatusNet ...@@ -95,7 +95,6 @@ var SN = { // StatusNet
* @access private * @access private
*/ */
FormNoticeEnhancements: function(form) { FormNoticeEnhancements: function(form) {
console.log("FormNoticeEnhancements - begin");
if (jQuery.data(form[0], 'ElementData') === undefined) { if (jQuery.data(form[0], 'ElementData') === undefined) {
MaxLength = form.find('.count').text(); MaxLength = form.find('.count').text();
if (typeof(MaxLength) == 'undefined') { if (typeof(MaxLength) == 'undefined') {
...@@ -321,7 +320,6 @@ var SN = { // StatusNet ...@@ -321,7 +320,6 @@ var SN = { // StatusNet
* @access public * @access public
*/ */
FormNoticeXHR: function(form) { FormNoticeXHR: function(form) {
console.log("FormNoticeXHR - begin");
SN.C.I.NoticeDataGeo = {}; SN.C.I.NoticeDataGeo = {};
form.append('<input type="hidden" name="ajax" value="1"/>'); form.append('<input type="hidden" name="ajax" value="1"/>');
...@@ -428,7 +426,6 @@ var SN = { // StatusNet ...@@ -428,7 +426,6 @@ var SN = { // StatusNet
var id = $(notice).attr('id'); var id = $(notice).attr('id');
if ($("#"+id).length == 0) { if ($("#"+id).length == 0) {
console.log("inserting before placeholder");
$(notice).insertBefore(placeholder); $(notice).insertBefore(placeholder);
} else { } else {
// Realtime came through before us... // Realtime came through before us...
...@@ -639,7 +636,6 @@ var SN = { // StatusNet ...@@ -639,7 +636,6 @@ var SN = { // StatusNet
*/ */
NoticeInlineReplyTrigger: function(notice, initialText) { NoticeInlineReplyTrigger: function(notice, initialText) {
// Find the notice we're replying to... // Find the notice we're replying to...
console.log('NoticeInlineReplyTrigger');
var id = $($('.notice_id', notice)[0]).text(); var id = $($('.notice_id', notice)[0]).text();
var parentNotice = notice; var parentNotice = notice;
...@@ -654,7 +650,6 @@ var SN = { // StatusNet ...@@ -654,7 +650,6 @@ var SN = { // StatusNet
// and we'll add on the end of it. Will add if needed. // and we'll add on the end of it. Will add if needed.
list = $('ul.threaded-replies', notice); list = $('ul.threaded-replies', notice);
if (list.length == 0) { if (list.length == 0) {
console.log("list = 0");
SN.U.NoticeInlineReplyPlaceholder(notice); SN.U.NoticeInlineReplyPlaceholder(notice);
list = $('ul.threaded-replies', notice); list = $('ul.threaded-replies', notice);
} else { } else {
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment