mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
http -> https
This commit is contained in:
parent
89ada80103
commit
7e04aba85e
@ -66,7 +66,7 @@ def set_left_data(container, title='calibre', icon='heart', action=None, tooltip
|
|||||||
animation_iteration_count='5', animation_play_state='running' if run_animation else 'paused'
|
animation_iteration_count='5', animation_play_state='running' if run_animation else 'paused'
|
||||||
)
|
)
|
||||||
set_css(a.firstChild, color=get_color('heart'))
|
set_css(a.firstChild, color=get_color('heart'))
|
||||||
a.setAttribute('href', 'http://calibre-ebook.com/donate')
|
a.setAttribute('href', 'https://calibre-ebook.com/donate')
|
||||||
a.setAttribute('target', 'donate-to-calibre')
|
a.setAttribute('target', 'donate-to-calibre')
|
||||||
if action is not None:
|
if action is not None:
|
||||||
a.addEventListener('click', def(event): event.preventDefault(), action();)
|
a.addEventListener('click', def(event): event.preventDefault(), action();)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user