Move js to correct place

This commit is contained in:
PCoder 2020-06-19 15:25:34 +05:30
parent 081f81c41c
commit 38109e175a
2 changed files with 9 additions and 11 deletions

View file

@ -15,14 +15,4 @@ $( document ).ready(function() {
$('html,body').scrollTop(scrollmem); $('html,body').scrollTop(scrollmem);
}); });
// Toggle subscription and one-time payments div
$('#li-one-time-charges').click(function() {
console.log("li-one-time-charges clicked");
});
$('#li-subscriptions').click(function() {
console.log("li-one-time-charges clicked");
});
}); });

View file

@ -135,7 +135,15 @@ $(document).ready(function() {
}); });
$('#createvm-modal').on('hidden.bs.modal', function () { $('#createvm-modal').on('hidden.bs.modal', function () {
$(this).find('.modal-footer .btn').addClass('hide'); $(this).find('.modal-footer .btn').addClass('hide');
}) });
// Toggle subscription and one-time payments div
$('#li-one-time-charges').click(function() {
console.log("li-one-time-charges clicked");
});
$('#li-subscriptions').click(function() {
console.log("li-one-time-charges clicked");
});
}); });
window.onload = function () { window.onload = function () {