Fix for create-my-github-issue button not working

This commit is contained in:
Ankit Aggarwal
2015-10-18 02:18:26 +05:30
parent af654aebdc
commit dea4bf3973

View File

@ -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: