Skip to content

Commit

Permalink
Merge pull request #4337 from shad-k/fix/fund-issue-btn
Browse files Browse the repository at this point in the history
Remove button class disabled and css for disabled button
  • Loading branch information
thelostone-mc authored May 6, 2019
2 parents 49fc65f + 670d4bc commit 0efa860
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions app/assets/v2/css/forms/button.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
text-decoration: none;
}

.button:disabled,
.button:disabled:hover,
.button--primary.button.disabled,
.button--primary.button.disabled:hover {
background-color: rgba(79, 79, 79, 0.26);
Expand Down
3 changes: 1 addition & 2 deletions app/assets/v2/js/shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ var callFunctionWhenweb3Available = function(f) {

var loading_button = function(button) {
button.prop('disabled', true);
button.addClass('disabled');
button.prepend('<img src=' + static_url + 'v2/images/loading_white.gif style="max-width:20px; max-height: 20px">').addClass('disabled');
button.prepend('<img src=' + static_url + 'v2/images/loading_white.gif style="max-width:20px; max-height: 20px">');
};

var attach_close_button = function() {
Expand Down

0 comments on commit 0efa860

Please sign in to comment.