fix for https
This commit is contained in:
1 parent
a0df7f77f4
commit
87f853242e
1 file changed
+3
@@ -429,6 +429,9 @@
|
||||
processData: false,
|
||||
contentType: false
|
||||
}).done(function(data){
|
||||
if(window.location.protocol === "https:"){
|
||||
data = data.replace("http:","https:");
|
||||
}
|
||||
$('.modal-body iframe').attr('src',data);
|
||||
$('#show_preview .modal').modal();
|
||||
$('#show_preview .modal').height(function() {
|
||||
|
||||
Reference in new issue
Block a user