Remove not used js

This commit is contained in:
Igor Kuzmenko 2017-07-18 14:25:35 +02:00
parent 1eff4036c0
commit 91fe3a77ac

View file

@ -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,