diff options
author | Douwe Maan <douwe@gitlab.com> | 2018-11-29 09:58:10 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2018-11-29 09:58:10 +0000 |
commit | 9f157f0d7d13190d8c72b0d321b83f5293176359 (patch) | |
tree | 6fc08c30fbfc69128544f6801d93bbcea18c44da /app/assets/javascripts | |
parent | 70b19fbdefac344641c8087a493bd582d9c57abe (diff) | |
parent | 2338a300b92e971c2c953aacbf1c6429ebc09f99 (diff) | |
download | gitlab-ce-9f157f0d7d13190d8c72b0d321b83f5293176359.tar.gz |
Merge branch 'sh-fix-issue-38317' into 'master'
Remove needless auto-capitalization on Wiki page titles
Closes #38317
See merge request gitlab-org/gitlab-ce!23288
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r-- | app/assets/javascripts/pages/projects/wikis/wikis.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/pages/projects/wikis/wikis.js b/app/assets/javascripts/pages/projects/wikis/wikis.js index d3e8dbf4000..9b58d42b47d 100644 --- a/app/assets/javascripts/pages/projects/wikis/wikis.js +++ b/app/assets/javascripts/pages/projects/wikis/wikis.js @@ -1,5 +1,4 @@ import bp from '../../../breakpoints'; -import { slugify } from '../../../lib/utils/text_utility'; import { parseQueryStringIntoObject } from '../../../lib/utils/common_utils'; import { mergeUrlParams, redirectTo } from '../../../lib/utils/url_utility'; @@ -26,7 +25,8 @@ export default class Wikis { if (!this.newWikiForm) return; const slugInput = this.newWikiForm.querySelector('#new_wiki_path'); - const slug = slugify(slugInput.value); + + const slug = slugInput.value; if (slug.length > 0) { const wikisPath = slugInput.getAttribute('data-wikis-path'); |