removes the checkbox and improves a condition
This commit is contained in:
@ -95,7 +95,7 @@ $(document).ready(function() {
|
|||||||
'links to screenshots if possible.\n\n'
|
'links to screenshots if possible.\n\n'
|
||||||
].join('');
|
].join('');
|
||||||
|
|
||||||
if ($('#include-code').prop('checked')) {
|
if (editor.getValue().trim()) {
|
||||||
var type;
|
var type;
|
||||||
switch (challengeType) {
|
switch (challengeType) {
|
||||||
case challengeTypes.HTML_CSS_JQ:
|
case challengeTypes.HTML_CSS_JQ:
|
||||||
@ -113,7 +113,7 @@ $(document).ready(function() {
|
|||||||
type,
|
type,
|
||||||
'\n',
|
'\n',
|
||||||
editor.getValue(),
|
editor.getValue(),
|
||||||
'\n```'
|
'\n```\n\n'
|
||||||
].join('');
|
].join('');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -21,10 +21,7 @@
|
|||||||
h3 Before you submit a new issue, read "Help I've Found a Bug" and browse other issues with this challenge.
|
h3 Before you submit a new issue, read "Help I've Found a Bug" and browse other issues with this challenge.
|
||||||
a.btn.btn-lg.btn-success.btn-block#help-ive-found-a-bug-wiki-article(name='_csrf', value=_csrf) Read "Help I've Found a Bug"
|
a.btn.btn-lg.btn-success.btn-block#help-ive-found-a-bug-wiki-article(name='_csrf', value=_csrf) Read "Help I've Found a Bug"
|
||||||
a.btn.btn-lg.btn-success.btn-block#search-issue(name='_csrf', value=_csrf) Browse other issues with this challenge
|
a.btn.btn-lg.btn-success.btn-block#search-issue(name='_csrf', value=_csrf) Browse other issues with this challenge
|
||||||
.btn-group.btn-block
|
a.btn.btn-lg.btn-primary.btn-block#report-issue(name='_csrf', value=_csrf) Create my GitHub issue
|
||||||
a.btn.btn-lg.btn-primary.col-sm-11.col-xs-10#report-issue(name='_csrf', value=_csrf) Create my GitHub issue
|
|
||||||
.btn.btn-lg.btn-primary.col-sm-1.col-xs-2
|
|
||||||
input(type="checkbox" title="Include My Code" checked)#include-code
|
|
||||||
a.btn.btn-lg.btn-info.btn-block(href='#', data-dismiss='modal', aria-hidden='true') Cancel
|
a.btn.btn-lg.btn-info.btn-block(href='#', data-dismiss='modal', aria-hidden='true') Cancel
|
||||||
|
|
||||||
#help-modal.modal(tabindex='-1')
|
#help-modal.modal(tabindex='-1')
|
||||||
|
Reference in New Issue
Block a user