mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-13 21:02:08 +08:00
Fix for create-my-github-issue button not working
This commit is contained in:
parent
af654aebdc
commit
dea4bf3973
@ -235,7 +235,7 @@ $(document).ready(function() {
|
||||
'links to screenshots if possible.\n\n'
|
||||
].join('');
|
||||
|
||||
if (editor.getValue().trim()) {
|
||||
if (typeof editor !== 'undefined' && editor.getValue().trim()) {
|
||||
var type;
|
||||
switch (challengeType) {
|
||||
case challengeTypes.HTML_CSS_JQ:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user