Fix for jQuery update

This commit is contained in:
Naoki Takezoe
2017-11-10 16:15:41 +09:00
parent 8d687660a9
commit b66852ec28
4 changed files with 4 additions and 4 deletions

View File

@@ -30,7 +30,7 @@
</div>
@if(filterId.nonEmpty) {
<script>
$(window).load(function(){
$(window).on('load', function(){
$('#@{filterId}-input').parent().click(function(e) {
e.stopPropagation();
});

View File

@@ -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 {

View File

@@ -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 {

View File

@@ -98,7 +98,7 @@
}
}
<script>
$(window).load(function(){
$(window).on('load', function(){
updateHighlighting();
window.onhashchange = function(){