Improve image thumbnails and files table

This commit is contained in:
Frederic Guillot
2016-02-13 22:51:58 -05:00
parent 82c45622c6
commit 124f93dbad
36 changed files with 272 additions and 247 deletions

View File

@@ -35,10 +35,11 @@ Popover.prototype.onClick = function(e) {
e.preventDefault();
e.stopPropagation();
var link = e.target.getAttribute("href");
var target = e.currentTarget || e.target;
var link = target.getAttribute("href");
if (! link) {
link = e.target.getAttribute("data-href");
link = target.getAttribute("data-href");
}
if (link) {