Skip to content

Commit

Permalink
fix pool size value is undefined (#1324)
Browse files Browse the repository at this point in the history
Co-authored-by: chentiantian <[email protected]>
  • Loading branch information
daydaychen and chentiantian authored Oct 26, 2023
1 parent 8cf8f23 commit b8b1ab1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flower/static/js/flower.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ var flower = (function () {
event.stopPropagation();

var workername = $('#workername').text(),
grow_size = $('#pool-size option:selected').html();
grow_size = $('#pool-size').val();

$.ajax({
type: 'POST',
Expand All @@ -165,7 +165,7 @@ var flower = (function () {
event.stopPropagation();

var workername = $('#workername').text(),
shrink_size = $('#pool-size option:selected').html();
shrink_size = $('#pool-size').val();

$.ajax({
type: 'POST',
Expand Down

0 comments on commit b8b1ab1

Please sign in to comment.