Skip to content

Commit

Permalink
small change
Browse files Browse the repository at this point in the history
  • Loading branch information
lobsam committed Jan 17, 2025
1 parent a593dea commit e8d75a5
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions static/js/Misc.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1375,14 +1375,10 @@ class DisplaySettingsButton extends Component {
let style = this.props.placeholder ? {visibility: "hidden"} : {};
let icon;

if (Sefaria._siteSettings.TORAH_SPECIFIC) {
icon =
<InterfaceText>
text.reader_option_menu.font_size_lable
</InterfaceText>;
} else {
icon = <span className="textIcon">Aa</span>;
}

icon = Sefaria.interfaceLang == 'english' ? <span className="textIcon">A</span>: <InterfaceText>
text.reader_option_menu.font_size_lable
</InterfaceText>;
return (<a
className="readerOptions"
tabIndex="0"
Expand Down

0 comments on commit e8d75a5

Please sign in to comment.