Fix for create-my-github-issue button not working
This commit is contained in:
@ -235,7 +235,7 @@ $(document).ready(function() {
|
|||||||
'links to screenshots if possible.\n\n'
|
'links to screenshots if possible.\n\n'
|
||||||
].join('');
|
].join('');
|
||||||
|
|
||||||
if (editor.getValue().trim()) {
|
if (typeof editor !== 'undefined' && editor.getValue().trim()) {
|
||||||
var type;
|
var type;
|
||||||
switch (challengeType) {
|
switch (challengeType) {
|
||||||
case challengeTypes.HTML_CSS_JQ:
|
case challengeTypes.HTML_CSS_JQ:
|
||||||
|
Reference in New Issue
Block a user