Skip to content

Commit 9569607

Browse files
lunnylafriks
andauthored
Fix wiki preview (#14515)
Co-authored-by: Lauris BH <[email protected]>
1 parent 8ff4f82 commit 9569607

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1359,7 +1359,7 @@ function initWikiForm() {
13591359
const $editArea = $('.repository.wiki textarea#edit_area');
13601360
let sideBySideChanges = 0;
13611361
let sideBySideTimeout = null;
1362-
if ($editArea.length > 0 && isMobile) {
1362+
if ($editArea.length > 0 && isMobile()) {
13631363
$editArea.css('display', 'inline-block');
13641364
return;
13651365
}

0 commit comments

Comments
 (0)