Commit ac691e52 authored by sajolida's avatar sajolida
Browse files

Merge remote-tracking branch 'usman-subhani/master'

parents 1193a9e0 4d0ba5db
......@@ -5,6 +5,8 @@ document.addEventListener('DOMContentLoaded', function() {
}
if(event.data.action === 'verifying'){
showVerifyingDownload();
var element = document.getElementById("verifying-download");
element.innerHTML = "Verifying: "+event.data.fileName;
}
else if(event.data.action === 'verification-failed'){
showVerificationResult('failed');
......@@ -15,6 +17,10 @@ document.addEventListener('DOMContentLoaded', function() {
else if(event.data.action === 'verification-success'){
showVerificationResult('successful');
}
else if (event.data.action === 'progress'){
var percentage = event.data.percentage;
console.log(percentage)
}
});
function showFloatingToggleableLinks() {
var links = document.getElementsByClassName('floating-toggleable-link');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment