1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 07:01:12 +00:00

update view txt

This commit is contained in:
ilearnit
2019-02-20 04:04:07 +00:00
parent a7b0fb17f4
commit f854e749e2

View File

@@ -28,7 +28,7 @@ import 'codemirror/mode/htmlmixed/htmlmixed';
const { isPro, repoID, repoName, filePath, fileName, siteName, enableWatermark, encoding, fileEncodingList, fileExt, isLocked, fileContent, latestContributor, lastModified, isStarred } = window.app.pageOptions;
const options = {
lineNumbers: true,
lineNumbers: false,
mode: Utils.chooseLanguage(fileExt.slice(3, fileExt.length -3)),
extraKeys: {'Ctrl': 'autocomplete'},
theme: 'default',