about summary refs log tree commit diff stats
path: root/app/assets/javascripts
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-10-17 15:05:36 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-10-17 15:05:36 -0400
commit95e7c215df89608a5b10bebb87968c9a713bbf3d (patch)
treeb21785e6483b0286a812dda44082bc735264fb27 /app/assets/javascripts
parent8d039903f630db0b89f2df44a94f4e5c938bd7bf (diff)
downloadthoughts-95e7c215df89608a5b10bebb87968c9a713bbf3d.tar.gz
thoughts-95e7c215df89608a5b10bebb87968c9a713bbf3d.tar.bz2
thoughts-95e7c215df89608a5b10bebb87968c9a713bbf3d.zip
Added uploading images to blog posts
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r--app/assets/javascripts/admin/records.coffee2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/assets/javascripts/admin/records.coffee b/app/assets/javascripts/admin/records.coffee index 27cdb78..3862b09 100644 --- a/app/assets/javascripts/admin/records.coffee +++ b/app/assets/javascripts/admin/records.coffee
@@ -28,3 +28,5 @@ $(document).on "turbolinks:load", ->
28 $(".tags-input input[type=text]").autocomplete({ 28 $(".tags-input input[type=text]").autocomplete({
29 source: Routes.suggest_tags_path() 29 source: Routes.suggest_tags_path()
30 }) 30 })
31 $(".image-uploads pre").click ->
32 navigator.clipboard.writeText($(this).text());