diff --git a/src/main/twirl/repo/tab.scala.html b/src/main/twirl/repo/tab.scala.html index f645e00..11dc6be 100644 --- a/src/main/twirl/repo/tab.scala.html +++ b/src/main/twirl/repo/tab.scala.html @@ -30,10 +30,9 @@ Commits Tags@if(repository.tags.length > 0){ @repository.tags.length}
  • -
    - HTTP +
    - +
  • diff --git a/src/main/twirl/wiki/tab.scala.html b/src/main/twirl/wiki/tab.scala.html index 3ce381b..5cce0ad 100644 --- a/src/main/twirl/wiki/tab.scala.html +++ b/src/main/twirl/wiki/tab.scala.html @@ -6,10 +6,9 @@ Pages Wiki History
  • -
    - HTTP +
    - +
  • diff --git a/src/main/webapp/assets/common/js/gitbucket.js b/src/main/webapp/assets/common/js/gitbucket.js index b784342..7983c83 100644 --- a/src/main/webapp/assets/common/js/gitbucket.js +++ b/src/main/webapp/assets/common/js/gitbucket.js @@ -1,4 +1,5 @@ $(function(){ + // disable Ajax cache $.ajaxSetup({ cache: false }); $('#repository-url').click(function(){ @@ -27,6 +28,7 @@ moviePath: moviePath }); var title = $('#repository-url-copy').attr('title'); + $('#repository-url-copy').removeAttr('title') clip.on('complete', function(client, args) { $(clip.htmlBridge).attr('title', 'copied!').tooltip('fixTitle').tooltip('show'); $(clip.htmlBridge).attr('title', title).tooltip('fixTitle'); @@ -37,5 +39,6 @@ }); })(); + // syntax highlighting by google-code-prettify prettyPrint(); });