broke ie/ff working again

pull/8/merge
HansPinckaers 2011-04-07 21:34:06 +02:00
parent ad86901f0b
commit dc15daaa40
2 changed files with 5 additions and 6 deletions

View File

@ -59,7 +59,6 @@ var padmodals = (function() {
init: function() { init: function() {
self.initFeedback(); self.initFeedback();
self.initShareBox(); self.initShareBox();
console.log("self.initShareBox");
}, },
initFeedback: function() { initFeedback: function() {
/*var emailField = $("#feedbackbox-email"); /*var emailField = $("#feedbackbox-email");
@ -81,7 +80,6 @@ var padmodals = (function() {
initShareBox: function() { initShareBox: function() {
$("#sharebutton").click(function() { $("#sharebutton").click(function() {
self.showShareBox(); self.showShareBox();
console.log("share");
}); });
$("#sharebox-hide").click(function() { $("#sharebox-hide").click(function() {
self.hideModal(); self.hideModal();

View File

@ -467,9 +467,9 @@ var paduserlist = (function() {
rowManager.insertRow(newIndex, userData); rowManager.insertRow(newIndex, userData);
} }
updateInviteNotice(); updateInviteNotice();
console.log(self.updateNumberOfOnlineUsers()); self.updateNumberOfOnlineUsers();
}, },
updateNumberOfOnlineUsers: function(){ updateNumberOfOnlineUsers: function(){
var online = 1; // you are always online! var online = 1; // you are always online!
@ -480,6 +480,7 @@ var paduserlist = (function() {
} }
} }
$("#online_count").text(online); $("#online_count").text(online);
return online; return online;
}, },
userLeave: function(info) { userLeave: function(info) {
@ -510,9 +511,9 @@ var paduserlist = (function() {
}, 8000); // how long to wait }, 8000); // how long to wait
userData.leaveTimer = thisLeaveTimer; userData.leaveTimer = thisLeaveTimer;
} }
updateInviteNotice(); updateInviteNotice();
console.log(self.updateNumberOfOnlineUsers()); self.updateNumberOfOnlineUsers();
}, },
showGuestPrompt: function(userId, displayName) { showGuestPrompt: function(userId, displayName) {
if (knocksToIgnore[userId]) { if (knocksToIgnore[userId]) {