Skip to content

Commit

Permalink
Fix #1641: be resilient to WURFL failing to load
Browse files Browse the repository at this point in the history
  • Loading branch information
josephcsible authored and cdsmith committed Dec 17, 2024
1 parent a553dab commit ba97664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/js/codeworld.js
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ function initCodeworld() {
lineNumbers: true,
autofocus: true,
matchBrackets: true,
styleActiveLine: !WURFL || !WURFL.is_mobile,
styleActiveLine: !window.WURFL || !window.WURFL.is_mobile,
showTrailingSpace: true,
indentWithTabs: false,
indentUnit: 2,
Expand Down

0 comments on commit ba97664

Please sign in to comment.