mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-19 19:25:51 +00:00
Remove unused main.js file
This commit is contained in:
@@ -1,29 +0,0 @@
|
||||
$(function(){
|
||||
$('.header > .left > .header-menu-button').on("click", function(e){
|
||||
|
||||
e.preventDefault();
|
||||
|
||||
$('.header > .left > ul').toggleClass('active');
|
||||
});
|
||||
|
||||
$(".content-root").on('click', function(){
|
||||
|
||||
$('.header > .left > ul').removeClass('active');
|
||||
|
||||
});
|
||||
$(".modal-checkbox input").on("change",function(){
|
||||
$("#btn-download").toggleClass("btn-download btn-disabled");
|
||||
});
|
||||
$("#btn-download").click(function(){
|
||||
if($(this).hasClass("btn-disabled")){
|
||||
return false;
|
||||
}
|
||||
$(".modal .close").click();
|
||||
});
|
||||
$(".logo-download-link").click(function(){
|
||||
var filename = $(this).data("src");
|
||||
$("#btn-download").attr("href", filename).attr("download", filename.replace(/^.*[\\\/]/, ''));
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user