mirror of
https://github.com/gitbucket/gitbucket.git
synced 2026-02-16 11:37:00 +01:00
Fix for jQuery update
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
</div>
|
||||
@if(filterId.nonEmpty) {
|
||||
<script>
|
||||
$(window).load(function(){
|
||||
$(window).on('load', function(){
|
||||
$('#@{filterId}-input').parent().click(function(e) {
|
||||
e.stopPropagation();
|
||||
});
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
<script>
|
||||
$(function(){
|
||||
$('#new-label-button').click(function(e){
|
||||
if($('#edit-label-area-new').size() != 0){
|
||||
if($('#edit-label-area-new').length != 0){
|
||||
$('div#edit-label-area-new').remove();
|
||||
$('#new-label-table').hide();
|
||||
} else {
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
<script>
|
||||
$(function(){
|
||||
$('#new-priority-button').click(function(e){
|
||||
if($('#edit-priority-area-new').size() != 0){
|
||||
if($('#edit-priority-area-new').length != 0){
|
||||
$('div#edit-priority-area-new').remove();
|
||||
$('#new-priority-table').hide();
|
||||
} else {
|
||||
|
||||
@@ -98,7 +98,7 @@
|
||||
}
|
||||
}
|
||||
<script>
|
||||
$(window).load(function(){
|
||||
$(window).on('load', function(){
|
||||
updateHighlighting();
|
||||
|
||||
window.onhashchange = function(){
|
||||
|
||||
Reference in New Issue
Block a user