small fix
This commit is contained in:
parent
beb13207ad
commit
a1c35d13a3
|
@ -351,7 +351,7 @@ $(document).ready(function(){
|
||||||
$("body").on("click", ".ticket-response-content img, .ticket-query img", function(){
|
$("body").on("click", ".ticket-response-content img, .ticket-query img", function(){
|
||||||
var el = $(this);
|
var el = $(this);
|
||||||
if(el.parent().prop("tagName") != "A"){
|
if(el.parent().prop("tagName") != "A"){
|
||||||
if(openImageWindow == null){
|
if(openImageWindow == null || openImageWindow.closed){
|
||||||
openImageWindow = window.open(el.attr("src"));
|
openImageWindow = window.open(el.attr("src"));
|
||||||
}else{
|
}else{
|
||||||
openImageWindow.location = el.attr("src");
|
openImageWindow.location = el.attr("src");
|
||||||
|
|
Loading…
Reference in New Issue