Added the accessibility fix and added the hack to fix the challenge complete modal
This commit is contained in:
@ -739,6 +739,7 @@ function bonfireExecute(shouldTest) {
|
|||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
var $marginFix = $('.innerMarginFix');
|
var $marginFix = $('.innerMarginFix');
|
||||||
$marginFix.css('min-height', $marginFix.height());
|
$marginFix.css('min-height', $marginFix.height());
|
||||||
|
$('#submitButton').click();
|
||||||
}, 1000);
|
}, 1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -88,6 +88,8 @@ block content
|
|||||||
a(href="/challenges/#{challenge.dashedName}")
|
a(href="/challenges/#{challenge.dashedName}")
|
||||||
span.capitalize= challenge.type + ': '
|
span.capitalize= challenge.type + ': '
|
||||||
span= challenge.title
|
span= challenge.title
|
||||||
|
span.sr-only= "Complete"
|
||||||
|
|
||||||
|
|
||||||
else
|
else
|
||||||
.row
|
.row
|
||||||
@ -98,6 +100,7 @@ block content
|
|||||||
a(href="/challenges/#{challenge.dashedName}")
|
a(href="/challenges/#{challenge.dashedName}")
|
||||||
span.capitalize= challenge.type + ': '
|
span.capitalize= challenge.type + ': '
|
||||||
span= challenge.title
|
span= challenge.title
|
||||||
|
span.sr-only= "InComplete"
|
||||||
|
|
||||||
//#announcementModal.modal(tabindex='-1')
|
//#announcementModal.modal(tabindex='-1')
|
||||||
// .modal-dialog.animated.fadeInUp.fast-animation
|
// .modal-dialog.animated.fadeInUp.fast-animation
|
||||||
|
Reference in New Issue
Block a user