Skip to content

Commit e2b5698

Browse files
authored
Download fullscreens on click (#1249)
Dropping the `?madmin=1` param totally. Changing to 0 does not really works :P
1 parent 89b5f27 commit e2b5698

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/madmin/templates/phonescreens.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@
341341
$(".downloadbutton").bind("click", function(event) {
342342
event.preventDefault();
343343
var origin = $(this).attr("origin");
344-
var img = $('img#' + origin).attr("src").replace("/madmin", "");
344+
var img = $('img#' + origin).attr("src").replace("?madmin=1", "");
345345
window.open(img, '_blank');
346346
});
347347

0 commit comments

Comments
 (0)