mirror of
https://github.com/rikkaneko/paste.git
synced 2025-06-06 08:35:44 +00:00
Remove redundant URL replacement in paste model
Signed-off-by: Joe Ma <rikkaneko23@gmail.com>
This commit is contained in:
parent
aa8dda5ef0
commit
9c336e4961
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ function remove_pop_alert() {
|
|||
function build_paste_modal(paste_info, show_qrcode = true, saved = true, build_only = false) {
|
||||
let tooltip = bootstrap.Tooltip.getInstance(paste_modal.id_copy_btn);
|
||||
|
||||
paste_modal.uuid.text(paste_info.link.replace(/^https?:\/\//, ''));
|
||||
paste_modal.uuid.text(paste_info.link);
|
||||
paste_modal.qrcode.prop('src', paste_info.link_qr);
|
||||
paste_modal.qrcode.prop('alt', paste_info.link);
|
||||
paste_modal.id_copy_btn_icon.addClass('bi-clipboard');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue