disable console.log statements

This commit is contained in:
did 2011-07-26 22:41:20 +02:00
parent 18ab1e09e6
commit 7f1c9282c7

View File

@ -138,7 +138,7 @@ $(document).ready(function(){
width: 200, width: 200,
title: "", title: "",
onShow: function(){ onShow: function(){
console.log("updating new model url"); // console.log("updating new model url");
$('div.action a').attr('href', $('div.action a').attr('href',
$('div.action a').attr('href') + "#guider=newmodelwelcome"); $('div.action a').attr('href') + "#guider=newmodelwelcome");
} }
@ -312,7 +312,7 @@ $(document).ready(function(){
}); });
function viewSiteClick(e){ function viewSiteClick(e){
console.log("viewsite click!"); // console.log("viewsite click!");
var $this = $(e.target); var $this = $(e.target);
e.preventDefault(); e.preventDefault();
window.open($this.attr('href'),"_blank"); window.open($this.attr('href'),"_blank");
@ -333,7 +333,7 @@ $(document).ready(function(){
width: 280, width: 280,
title: "Click Here To View Your Site", title: "Click Here To View Your Site",
onShow: function(){ onShow: function(){
console.log("binding click for view site", $('#viewsite')); // console.log("binding click for view site", $('#viewsite'));
$('#viewsite').bind('click', viewSiteClick); $('#viewsite').bind('click', viewSiteClick);
} }
}); });