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,12 +348,21 @@ class MobileProfilePlugin extends WAP20Plugin
$("#navtoggle").text(
text == "Show Navigation" ? "Hide Navigation" : "Show Navigation");
});
});'
);
if ($this->serveMobile) {
$action->inlineScript('
$(function() {
$(".checkbox-wrapper").unbind("click");
});'
);
}
}
function onEndShowInsideFooter($action)
{
if ($this->serveMobile) {