Fix button_with_spinner now uses onclick instead of data-onclick.

This commit is contained in:
voussoir 2020-08-29 22:27:15 -07:00
parent 8ae1086727
commit 48a63a099b

View file

@ -211,7 +211,7 @@ ALBUM_ID = undefined;
<button <button
class="green_button button_with_spinner" class="green_button button_with_spinner"
data-onclick="api.albums.refresh_directories(ALBUM_ID, common.refresh);" onclick="api.albums.refresh_directories(ALBUM_ID, common.refresh);"
data-spinner-delay="500" data-spinner-delay="500"
{% if not album.get_associated_directories() %} {% if not album.get_associated_directories() %}
title="No associated directories" title="No associated directories"