diff options
| author | Austin <alucard@cuntflaps.me> | 2016-06-29 03:43:50 +0200 |
|---|---|---|
| committer | Austin <alucard@cuntflaps.me> | 2016-06-29 03:43:50 +0200 |
| commit | 45b5dcc6f46c184863548a103e3a1d19de68b927 (patch) | |
| tree | d72ebe76f3bc2d9b53b20fffc2d3a8e67d617557 | |
| parent | 4a869e4e0e1368baf5aa4e1a4144e0d31f633782 (diff) | |
Switch copy button styling code to CSS file
| -rw-r--r-- | static/css/pomf.css | 3 | ||||
| -rw-r--r-- | static/js/app.js | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/static/css/pomf.css b/static/css/pomf.css index 9bc5852..ae4e75e 100644 --- a/static/css/pomf.css +++ b/static/css/pomf.css @@ -231,6 +231,9 @@ nav > ul > li:last-child:after { .error#upload-filelist { color: #891A18; } +button.upload-clipboard-btn { + height: 16px; +} .error#upload-filelist .progress-percent { color: #B94A48; } diff --git a/static/js/app.js b/static/js/app.js index 44c8453..27a9353 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -85,7 +85,6 @@ document.addEventListener('DOMContentLoaded', function () { copy.className = 'upload-clipboard-btn'; var glyph = document.createElement('img'); glyph.src = 'img/glyphicons-512-copy.png'; - glyph.style = 'height:16px'; copy.appendChild(glyph); url.appendChild(copy); copy.addEventListener("click", function(event) { |
