Only unbind privacy checkbox when actually on mobile profile, oops.

This commit is contained in:
Samantha Doherty 2011-06-08 15:59:05 -04:00
parent 40cfc5490a
commit c6d6749d6f

View File

@ -348,9 +348,18 @@ class MobileProfilePlugin extends WAP20Plugin
$("#navtoggle").text( $("#navtoggle").text(
text == "Show Navigation" ? "Hide Navigation" : "Show Navigation"); text == "Show Navigation" ? "Hide Navigation" : "Show Navigation");
}); });
$(".checkbox-wrapper").unbind("click");
});' });'
); );
if ($this->serveMobile) {
$action->inlineScript('
$(function() {
$(".checkbox-wrapper").unbind("click");
});'
);
}
} }