mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-30 11:41:19 +08:00
refactor
This commit is contained in:
parent
c0cc6c293a
commit
71531ebf12
1 changed files with 2 additions and 2 deletions
|
@ -29,9 +29,9 @@ module TinyMceHelper
|
|||
if pdf_export_ready
|
||||
report_image_asset_url(img, :tiny_mce_asset, 'tiny-mce-pdf-ready')
|
||||
else
|
||||
image_tag img.url,
|
||||
image_tag(img.url,
|
||||
class: 'img-responsive',
|
||||
data: { token: Base62.encode(img.id) }
|
||||
data: { token: Base62.encode(img.id) })
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue