Skip to content

Commit

Permalink
Fix a typo on css
Browse files Browse the repository at this point in the history
  • Loading branch information
cotes2020 committed Jan 24, 2021
1 parent b7266ac commit 0e9104a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _sass/addon/commons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -976,7 +976,7 @@ img {
display: none !important;
}

.visable {
.visible {
visibility: visible !important;
}

Expand Down
6 changes: 3 additions & 3 deletions assets/js/_commons/search-display.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ $(function() {
hints.removeClass("unloaded");
}
resultWrapper.addClass("unloaded");
btnClear.removeClass("visable");
btnClear.removeClass("visible");
main.removeClass("hidden");

input.val("");
Expand Down Expand Up @@ -130,7 +130,7 @@ $(function() {
resultSwitch.on();

if (!btnClear.hasClass("visible")) {
btnClear.addClass("visable");
btnClear.addClass("visible");
}

if (isMobileView()) {
Expand All @@ -149,7 +149,7 @@ $(function() {
resultSwitch.off();
}
input.focus();
btnClear.removeClass("visable");
btnClear.removeClass("visible");
});

});

0 comments on commit 0e9104a

Please sign in to comment.