mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core&ui: bug fix
This commit is contained in:
1 parent
42f41c4f61
commit
e4c2f309c4
6 files changed
+9
-26
No files matched your search
@@ -69,8 +69,8 @@ async function initChart() {
|
||||
}
|
||||
|
||||
const page = new NamedPage('user_detail', () => {
|
||||
$('[name="profile_contact_copy"]').get().forEach((el) => {
|
||||
const data = $(el).attr('data-content');
|
||||
$('[data-copy]').get().forEach((el) => {
|
||||
const data = $(el).attr('data-copy');
|
||||
const decoded = base64.decode(data);
|
||||
const clip = new Clipboard(el, { text: () => decoded });
|
||||
clip.on('success', () => {
|
||||
|
||||
Reference in new issue
Block a user