Reset button state after modal shown on info page

This commit is contained in:
JonnyWong16 2017-09-30 11:00:24 -07:00
commit 3c1d0d3128

View file

@ -378,7 +378,7 @@ DOCUMENTATION :: END
% else: % else:
<span class="imgur-poster-tooltip" data-toggle="popover" data-img="${data['poster_url']}" data-height="120" data-width="80" style="display: inline-flex;"> <span class="imgur-poster-tooltip" data-toggle="popover" data-img="${data['poster_url']}" data-height="120" data-width="80" style="display: inline-flex;">
% endif % endif
<button class="btn btn-danger btn-edit" data-toggle="button" aria-pressed="false" autocomplete="off" id="delete-imgur-poster" <button class="btn btn-danger btn-edit" data-toggle="modal" aria-pressed="false" autocomplete="off" id="delete-imgur-poster"
data-id="${data['parent_rating_key'] if data['media_type'] in ('episode', 'track') else data['rating_key']}"> data-id="${data['parent_rating_key'] if data['media_type'] in ('episode', 'track') else data['rating_key']}">
<i class="fa fa-picture-o"></i> Reset Imgur Poster <i class="fa fa-picture-o"></i> Reset Imgur Poster
</button> </button>
@ -386,7 +386,7 @@ DOCUMENTATION :: END
</div> </div>
% endif % endif
<div class="btn-group"> <div class="btn-group">
<button class="btn btn-dark" data-toggle="button" aria-pressed="false" autocomplete="off" id="send-recently-added-notification" <button class="btn btn-dark" data-toggle="modal" aria-pressed="false" autocomplete="off" id="send-recently-added-notification"
data-id="${data['rating_key']}"> data-id="${data['rating_key']}">
<i class="fa fa-bell"></i> Recently Added Notification <i class="fa fa-bell"></i> Recently Added Notification
</button> </button>