- TypeError: $("#userSettingsBtn") is null, line:4
parent
f8fb56e49f
commit
14e9bf0e06
|
@ -65,7 +65,9 @@
|
|||
|
||||
|
||||
<script type="text/javascript">
|
||||
$('#userSettingsBtn').click(
|
||||
var userSettingsLink = $('#userSettingsBtn');
|
||||
if (userSettingsLink) {
|
||||
userSettingsLink.click(
|
||||
function (event) {
|
||||
$('#settings-dialog-modal .modal-body').load("c/account/settings",
|
||||
function () {
|
||||
|
@ -79,6 +81,7 @@
|
|||
event.preventDefault();
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Reference in New Issue