Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Chen-Zhe/photo-grid.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen Zhe <chenzhesg@gmail.com>2021-01-30 06:32:11 +0300
committerChen Zhe <chenzhesg@gmail.com>2021-01-30 06:32:11 +0300
commitd12cf3304604aa1447c931e125baed0387ea9be3 (patch)
tree2393b4c26426d54cc900132d939a6f13b4b0edcd
parent36864905741488ef90a3e8fccce061c2f334caa0 (diff)
open video link in new window
-rw-r--r--static/js/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/js/main.js b/static/js/main.js
index ef22616..68b577c 100644
--- a/static/js/main.js
+++ b/static/js/main.js
@@ -363,7 +363,7 @@ var Grid = (function() {
} else {
if (eldata.isVideo){
// show video link when iframe is not displayed due to screen size
- $("<a/>").attr("href", eldata.largesrc ).appendTo(self.$title);
+ $('<a target="_blank"/>').attr("href", eldata.largesrc ).appendTo(self.$title);
}
}
},