Comparing version 1.0.1 to 1.0.2
@@ -133,3 +133,3 @@ var url = document.currentScript.getAttribute('url') || 'https://qq.webrtc.win/audio/Pear-Demo-audio.mp3'; | ||
}); | ||
finishDownload(loading, button); | ||
// finishDownload(loading, button); | ||
}); | ||
@@ -253,2 +253,6 @@ } | ||
[].slice.call( document.querySelectorAll( '.progress-button' ) ).forEach( function( btn, index ) { | ||
var parentID = btn.parentNode.getAttribute('id'); | ||
@@ -285,2 +289,9 @@ var data = localStorageData(parentID); | ||
button.onclick = startDownload(); | ||
var pie = btn.children[1].children[0]; | ||
pie.style.width = data.height + 'px'; | ||
pie.style.height = data.height + 'px'; | ||
// document.getOverrideStyle(pie, ':after').font = 900 + ' '+ data.height / 3 + 'px/' + data.height * 2 / 3 + 'px' + ' Tahoma'; | ||
}) | ||
@@ -287,0 +298,0 @@ } |
{ | ||
"name": "pearbutton", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "button.js", |
Sorry, the diff of this file is not supported yet
219166
11
2438