Browse Source

Page: Repository home page

Unknwon 10 years ago
parent
commit
93ee0838eb
2 changed files with 5 additions and 4 deletions
  1. 5 4
      public/ng/js/gogs.js
  2. 0 0
      public/ng/js/min/gogs-min.js

+ 5 - 4
public/ng/js/gogs.js

@@ -263,13 +263,14 @@ var Gogs = {};
                 return str;
             },
             afterCopy: function () {
-                $(this).tipsy("hide").attr('original-title', $this.data('after-title'));
+                var $this = $(this);
+                $this.tipsy("hide").attr('original-title', $this.data('after-title'));
                 setTimeout(function () {
-                    $(this).tipsy("show");
+                    $this.tipsy("show");
                 }, 200);
                 setTimeout(function () {
-                    $(this).tipsy('hide').attr('original-title', $this.data('original-title'));
-                }, 3000);
+                    $this.tipsy('hide').attr('original-title', $this.data('original-title'));
+                }, 2000);
             }
         }).addClass("js-copy-bind");
     }

File diff suppressed because it is too large
+ 0 - 0
public/ng/js/min/gogs-min.js


Some files were not shown because too many files changed in this diff