Only unbind privacy checkbox when actually on mobile profile, oops.
This commit is contained in:
parent
40cfc5490a
commit
c6d6749d6f
|
@ -348,9 +348,18 @@ class MobileProfilePlugin extends WAP20Plugin
|
|||
$("#navtoggle").text(
|
||||
text == "Show Navigation" ? "Hide Navigation" : "Show Navigation");
|
||||
});
|
||||
$(".checkbox-wrapper").unbind("click");
|
||||
});'
|
||||
);
|
||||
|
||||
if ($this->serveMobile) {
|
||||
$action->inlineScript('
|
||||
$(function() {
|
||||
$(".checkbox-wrapper").unbind("click");
|
||||
});'
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user