summaryrefslogtreecommitdiffstats
path: root/public/js
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-08-15 01:42:20 -0700
committerUnknwon <u@gogs.io>2016-08-15 01:42:20 -0700
commit4a19fd64412dc111bac3c1b56cf3eb55728d2ba3 (patch)
tree57d03a9b2f6aab9b1f0f69a2926c0e8418e66be0 /public/js
parent54e0ada9d53c28543a436d266dc73e759cc7658b (diff)
downloadgitea-4a19fd64412dc111bac3c1b56cf3eb55728d2ba3.tar.gz
gitea-4a19fd64412dc111bac3c1b56cf3eb55728d2ba3.zip
Web editor: temporarily disable upload and quick fix for edit and new
Try to merge into develop branch ASAP, then continue minor fixes afterwards.
Diffstat (limited to 'public/js')
-rw-r--r--public/js/gogs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/gogs.js b/public/js/gogs.js
index 03bd304f0e..0e18eea4db 100644
--- a/public/js/gogs.js
+++ b/public/js/gogs.js
@@ -735,7 +735,7 @@ function initEditor() {
$('#tree-name').val(parts.join('/'));
}).trigger('keyup');
- editArea = $('.repository.edit textarea#edit_area');
+ editArea = $('.repository.editor textarea#edit_area');
if (!editArea.length)
return;