diff options
| -rw-r--r-- | photoblaster/templates/gallery.html | 3 | ||||
| -rw-r--r-- | share/frontend/gallery-static/js/main.js | 5 |
2 files changed, 4 insertions, 4 deletions
diff --git a/photoblaster/templates/gallery.html b/photoblaster/templates/gallery.html index f409952..48eb31d 100644 --- a/photoblaster/templates/gallery.html +++ b/photoblaster/templates/gallery.html @@ -107,9 +107,6 @@ var imagedata = [ <div id="dump"> <div id="rebus"></div> <input id="urlz" type="text" /> - <div id="d_clip_container" style="position:relative"> - <div id="d_clip_button">copy</div> - </div> <button id="clear">clear</button> </div> <div id="images"> diff --git a/share/frontend/gallery-static/js/main.js b/share/frontend/gallery-static/js/main.js index e57e17c..aadc7e1 100644 --- a/share/frontend/gallery-static/js/main.js +++ b/share/frontend/gallery-static/js/main.js @@ -48,6 +48,7 @@ var Dump = { $("#rebus").html("") $("#urlz").val("") Dump.current_urls = [] + window.localStorage.setItem('urls', "") // clip.setText("") }, load_rebus: function(){ @@ -101,8 +102,10 @@ var Main = { // BS case 8: - if (! Main.editing) + if (! Main.editing) { + event.stopPropagation() Dump.backspace() + } return false // C case 67: |
