mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-05 04:56:02 +01:00
Disable GET Ajax cache.
This commit is contained in:
@@ -57,7 +57,4 @@
|
||||
@body
|
||||
</div>
|
||||
</body>
|
||||
<script>
|
||||
$(function(){ prettyPrint(); });
|
||||
</script>
|
||||
</html>
|
||||
@@ -1,5 +1,11 @@
|
||||
$(function(){
|
||||
$.ajaxSetup({
|
||||
cache: false
|
||||
});
|
||||
|
||||
$('#repository-url').click(function(){
|
||||
this.select(0, this.value.length);
|
||||
});
|
||||
|
||||
prettyPrint();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user