Fix wiki preview (#14515)

Co-authored-by: Lauris BH <lauris@nix.lv>
pull/14529/head
Lunny Xiao 4 years ago committed by GitHub
parent 8ff4f82e05
commit 9569607abb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      web_src/js/index.js

@ -1359,7 +1359,7 @@ function initWikiForm() {
const $editArea = $('.repository.wiki textarea#edit_area');
let sideBySideChanges = 0;
let sideBySideTimeout = null;
if ($editArea.length > 0 && isMobile) {
if ($editArea.length > 0 && isMobile()) {
$editArea.css('display', 'inline-block');
return;
}

Loading…
Cancel
Save