http -> https

This commit is contained in:
Kovid Goyal 2018-06-21 11:51:28 +05:30
parent 89ada80103
commit 7e04aba85e
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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'
)
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')
if action is not None:
a.addEventListener('click', def(event): event.preventDefault(), action();)