diff options
Diffstat (limited to 'templates')
| -rwxr-xr-x[-rw-r--r--] | templates/main.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/main.js b/templates/main.js index cf9f9e77..6d0eeabc 100644..100755 --- a/templates/main.js +++ b/templates/main.js @@ -136,7 +136,10 @@ function init() link = document.getElementsByTagName('a');
for ( i in link ) {
if(typeof link[i] == "object" && link[i].childNodes[0].src) {
- link[i].onclick = function() {
+ link[i].onclick = function(e) {
+ if(e.which == 2) {
+ return true;
+ }
if(!this.tag) {
this.tag = this.childNodes[0].src;
this.childNodes[0].src = this.href;
|
