Skip to content
Permalink
Browse files

Spacing of button

  • Loading branch information...
angela-ko committed Aug 10, 2016
1 parent 7acc378 commit 536f9db36f2ca223437c05696a3ae7b9803bb973
Showing with 5 additions and 1 deletion.
  1. +5 −1 js/photonic3d.js
@@ -103,9 +103,13 @@ function uploadZip(zipFile, fileName) {
function makeButton() {
//rename original zip button
var btn = document.getElementById("zip-button");
btn.innerHTML = '<span class="glyphicon glyphicon-compressed"></span> ZIP'
btn.innerHTML = '<span class="glyphicon glyphicon-compressed"></span> ZIP';

//create new zip button
var newbtn = document.createElement("BUTTON");
$(newbtn).css({
'margin-top' : '10px'
});
btn.parentNode.insertBefore(newbtn, btn.nextSibling);
newbtn.onclick = function () {
makeZip();

0 comments on commit 536f9db

Please sign in to comment.
You can’t perform that action at this time.