Fixed test to display popup for code not on iPhone

This commit is contained in:
Yann Esposito (Yogsototh) 2010-09-20 12:06:09 +02:00
parent 8d75d935ac
commit b090daf1f0

View file

@ -11,7 +11,7 @@ function returnToNormal() {
}
function initCode() {
if ( /ip(od|hone)/.test(userAgent) ) {
if ( ! /ip(od|hone)/.test(userAgent) ) {
$(".code").click(openWide);
$(".code").css({cursor: "pointer"});
$('body').append('<div id="_code"></div>');