Skip to content

Commit

Permalink
Revert "Prince/ Code fix (#747)"
Browse files Browse the repository at this point in the history
This reverts commit 51b7251.
  • Loading branch information
prince-deriv authored Aug 2, 2024
1 parent 51b7251 commit edc7a56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/javascript/_common/localize.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const Localize = (() => {

const lang = urlLang().toUpperCase();

const strings = texts_json ?? {};
const strings = typeof texts_json !== 'undefined' ? texts_json : {};

localized_texts = strings[lang];

Expand Down

0 comments on commit edc7a56

Please sign in to comment.