Skip to content

Commit

Permalink
fix checkbox on register/complete
Browse files Browse the repository at this point in the history
  • Loading branch information
pichalite committed Aug 10, 2016
1 parent 4d945d5 commit 9c7d3b8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/material.js
Expand Up @@ -10,6 +10,7 @@ $(document).ready(function() {
setupFloatingLabels();
setupMenus();
setupChatSearch();
setupCheckBox();

function setupProgressBar() {
$(window).on('action:ajaxify.start', function() {
Expand Down Expand Up @@ -224,4 +225,12 @@ $(document).ready(function() {
});
});
}

function setupCheckBox() {
$(window).on('action:ajaxify.end', function() {
if (ajaxify.data.template.name == 'registerComplete') {
$('#agree-terms').after('<i class="input-helper"></i>');
}
});
}
});

0 comments on commit 9c7d3b8

Please sign in to comment.