diff options
| author | yo mama <pepper@scannerjammer.com> | 2016-09-03 13:28:45 -0700 |
|---|---|---|
| committer | yo mama <pepper@scannerjammer.com> | 2016-09-03 13:28:45 -0700 |
| commit | e845f591240badcd9e7784aa668554f49577387a (patch) | |
| tree | 8a2ff1848da863f736da5357e27f1262c6ff2971 /share/frontend/gallery-static/js/main.js | |
| parent | 9b9589a54505e4ec0c2555c53b8e7980b6686daa (diff) | |
ok improved
Diffstat (limited to 'share/frontend/gallery-static/js/main.js')
| -rw-r--r-- | share/frontend/gallery-static/js/main.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/share/frontend/gallery-static/js/main.js b/share/frontend/gallery-static/js/main.js index 742a1df..51cb87c 100644 --- a/share/frontend/gallery-static/js/main.js +++ b/share/frontend/gallery-static/js/main.js @@ -53,8 +53,12 @@ var Dump = { load_rebus: function(){ var as_str = Dump.current_urls.join(" ") window.localStorage.setItem('urls', as_str) - $("#rebus").html("") - Dump.current_urls.map(function(url){ $("#rebus").append($("<img>").attr("src", url))}) +// $("#rebus").html("") + $("#rebus").html( + Dump.current_urls.map( + function(url){ return $("<img>").attr("src", url)[0].outerHTML} + ).join(" ") + ) $("#rebus").show() console.log(as_str) $("#urlz").val( as_str ) |
