Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?
You are not logged in.
Pages: 1
In the site's JQUERY, it has a feature that you type ? and then the background name.
Doing so breaks the logo, goto:
http://everybodyedits.com/?ajoin
This is because it tries to load the site's logo from "http://playerio-a.akamaihd.net/everybody-edits-su9rn58o40itdbnw69plyw/Everybody%20Edits%20Website/images/logosmallnew._v4ajoin.png?2"
Offline
This isn't really a bug... Typing in an invalid URL will break a lot of things, and it can't really happen unless you're trying to do it
$(document).ready(function setBG() {
console.log(window.location.href.toLowerCase().indexOf("?") >= 0);
if(window.location.href.toLowerCase().indexOf("?") >= 0) {
event = window.location.href.split('?')[1];
}
if(event.replace(/[0-9]/g, '') != "") {
$.each($("img.logo"), function() {
$(this).attr("src", $(this).attr("src").replace(".png", event + ".png?2"));
});
}
Offline
destroyer123 wrote:This isn't really a bug... Typing in an invalid URL will break a lot of things, and it can't really happen unless you're trying to do it
$(document).ready(function setBG() { console.log(window.location.href.toLowerCase().indexOf("?") >= 0); if(window.location.href.toLowerCase().indexOf("?") >= 0) { event = window.location.href.split('?')[1]; }
if(event.replace(/[0-9]/g, '') != "") { $.each($("img.logo"), function() { $(this).attr("src", $(this).attr("src").replace(".png", event + ".png?2")); }); }
?
Don't see how that makes it a bug...
Offline
Pages: 1
[ Started around 1740232039.6544 - Generated in 0.038 seconds, 10 queries executed - Memory usage: 1.42 MiB (Peak: 1.53 MiB) ]