dgf %!s(int64=8) %!d(string=hai) anos
pai
achega
0f92cbd402
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      talkview/src/js/directive/currentmessage.js

+ 1 - 1
talkview/src/js/directive/currentmessage.js

@@ -64,7 +64,7 @@
                 var g = (/\[image\-src=\"([\w\W]+?)\"\]/i).exec(content);
                 while (g !== null) {
                     content = content.replace(g[0], function() {
-                        var html = '<a href="#" class="thumbnail"' + '>' +
+                        var html = '<a href="local://' + scope.appContent.directory.received + g[1] + '.JPG' + '" target="_blank" class="thumbnail"' + '>' +
                             '<img style="max-width:270px;max-height:250px;" src="local://' + scope.appContent.directory.received + g[1] + '.JPG' + '" alt="" >' +
                             '</a>';
                         loadImg("local://" + scope.appContent.directory.received + g[1] + ".JPG", addImg);