Skip to content

Commit 4c84908

Browse files
committed
Use ||
1 parent edc1e72 commit 4c84908

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mock.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const render = Trigger.prototype.render;
1010
Trigger.prototype.render = function () { // eslint-disable-line
1111
const tree = render.call(this);
1212

13-
if (this.state.popupVisible && this._component) {
13+
if (this.state.popupVisible || this._component) {
1414
return tree;
1515
}
1616

0 commit comments

Comments
 (0)