Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ee95cdd

Browse files
committed
button setShow fix
1 parent dffd675 commit ee95cdd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎js/angular-confirm.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -645,9 +645,9 @@ angular.module('cp.ngConfirm', [
645645
};
646646
buttons[key].setShow = function (state) {
647647
if (state)
648-
button_el.removeClass(this._hideClass);
649-
else
650648
button_el.addClass(this._hideClass);
649+
else
650+
button_el.removeClass(this._hideClass);
651651
buttons[key].show = show;
652652
};
653653

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /