diff options
author | Zevs <vsv2711@gmail.com> | 2012-06-20 22:01:27 +0400 |
---|---|---|
committer | Zevs <vsv2711@gmail.com> | 2012-06-20 22:01:27 +0400 |
commit | 6507c1085e02d9e59020c38ceff3308374dd1df0 (patch) | |
tree | d8685e48989c63284adc18aa29663c958394ecb6 /app/assets/javascripts/application.js | |
parent | a9c7de8815def87867daf025ff9753aae2615228 (diff) |
Revert "Handle Commit "show suppressed diff" link with a doc-ready event handler."
This reverts commit ef1598b4afa94b21db7f38755182a701d03ae44a.
Diffstat (limited to 'app/assets/javascripts/application.js')
-rw-r--r-- | app/assets/javascripts/application.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index bc91c9730ec..0af0b11a931 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -75,6 +75,11 @@ function slugify(text) { return text.replace(/[^-a-zA-Z0-9]+/g, '_').toLowerCase(); } +function showDiff(link) { + $(link).next('table').show(); + $(link).remove(); +} + (function($){ var _chosen = $.fn.chosen; $.fn.extend({ |