mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
Remove not used js
This commit is contained in:
parent
1eff4036c0
commit
91fe3a77ac
1 changed files with 0 additions and 23 deletions
23
js/main.js
23
js/main.js
|
@ -433,29 +433,6 @@ function walletScoreListener(e) {
|
||||||
onTouchClick(e, init);
|
onTouchClick(e, init);
|
||||||
}
|
}
|
||||||
|
|
||||||
function walletDistributionListener(os, platform) {
|
|
||||||
window.location.hash = "!platform=" + platform + "&os=" + os;
|
|
||||||
var osContainers = document.querySelectorAll('.wallet-os-container');
|
|
||||||
var osButtons = document.querySelectorAll('.wallet-os-btn');
|
|
||||||
var selected = document.getElementById(os);
|
|
||||||
var button = document.getElementById(os + '-btn');
|
|
||||||
osContainers.forEach(function(el) { addClass(el, 'hidden'); });
|
|
||||||
osButtons.forEach(function(el) { removeClass(el, 'active'); });
|
|
||||||
removeClass(selected, 'hidden');
|
|
||||||
addClass(button, 'active');
|
|
||||||
}
|
|
||||||
|
|
||||||
(function() {
|
|
||||||
var hash = window.location.hash;
|
|
||||||
if (hash.indexOf('!') > -1 && hash.indexOf('platform') > -1 && hash.indexOf('os') > -1) {
|
|
||||||
var platform = hash.split('&')[0].split('=')[1];
|
|
||||||
var os = hash.split('&')[1].split('=')[1];
|
|
||||||
setTimeout(function() {
|
|
||||||
walletDistributionListener(os, platform);
|
|
||||||
}, 0);
|
|
||||||
}
|
|
||||||
})();
|
|
||||||
|
|
||||||
function walletShowPlatform(platform) {
|
function walletShowPlatform(platform) {
|
||||||
// Show wallets for given platform in the menu.
|
// Show wallets for given platform in the menu.
|
||||||
var t = null,
|
var t = null,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue