1
0
mirror of https://github.com/janeczku/calibre-web.git synced 2024-11-28 08:58:41 +02:00

Fix Limiting domains (related to #773)

This commit is contained in:
Ozzie Isaacs 2019-01-15 20:08:47 +01:00 committed by GitHub
parent f4977c3767
commit cc618ecee7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,7 @@ $(function() {
});
//triggered when modal is about to be shown
$("#DeleteDomain").on("show.bs.modal" function(e) {
$("#DeleteDomain").on("show.bs.modal", function(e) {
//get data-id attribute of the clicked element and store in button
var domainId = $(e.relatedTarget).data("domain-id");
$(e.currentTarget).find("#btndeletedomain").data("domainId", domainId);