Skip to content

Commit

Permalink
fix #307 select issue on webkit
Browse files Browse the repository at this point in the history
  • Loading branch information
syjer committed Jul 24, 2017
1 parent 63c94be commit 6dd03f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
$("select").map(function() {
var value = $(this).attr('value');
if(value && value.length > 0) {
$(this).find("option[value="+value+"]").attr('selected','selected');
$(this).val(value);
}
});

Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/resources/js/event/waiting-queue.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
$("select").map(function() {
var value = $(this).attr('value');
if(value && value.length > 0) {
$(this).find("option[value="+value+"]").attr('selected','selected');
$(this).val(value);
}
});
})();

0 comments on commit 6dd03f2

Please sign in to comment.