removed debug code

v1.18.x
Baris Usakli 12 years ago
parent 3c0b86689a
commit 9e54602d16

@ -131,10 +131,6 @@ var socket,
strong = document.createElement('strong'), strong = document.createElement('strong'),
p = document.createElement('p'); p = document.createElement('p');
/*jQuery('#'+alert_id).fadeOut(500, function() {
this.remove();
});*/
p.innerHTML = params.message; p.innerHTML = params.message;
strong.innerHTML = params.title; strong.innerHTML = params.title;
@ -184,12 +180,6 @@ var socket,
app.open_post_window = function(post_mode, id, title, pid) { app.open_post_window = function(post_mode, id, title, pid) {
try{
throw new Error;
}catch(e){
console.log(e.stack);
}
submit_post_btn = submit_post_btn || document.getElementById('submit_post_btn'); submit_post_btn = submit_post_btn || document.getElementById('submit_post_btn');
post_title = post_title || document.getElementById('post_title'); post_title = post_title || document.getElementById('post_title');
reply_title = reply_title || document.getElementById('reply_title'); reply_title = reply_title || document.getElementById('reply_title');
@ -268,8 +258,6 @@ var socket,
}; };
app.close_post_window = function() { app.close_post_window = function() {
console.log('closing post window');
post_window = post_window || document.getElementById('post_window'); post_window = post_window || document.getElementById('post_window');
jQuery(post_window).slideUp(250); jQuery(post_window).slideUp(250);
$(document.body).removeClass('composing'); $(document.body).removeClass('composing');

Loading…
Cancel
Save