Skip to content
Permalink
Browse files

Merge remote-tracking branch 'angela/gh-pages' into gh-pages

  • Loading branch information...
wilbur-shi committed Aug 10, 2016
2 parents 6edd182 + 536f9db commit 1bd3cdc5b42f611db593dc30825126dafa4783fc
Showing with 5 additions and 1 deletion.
  1. +5 −1 js/photonic3d.js
@@ -106,9 +106,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 1bd3cdc

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