Fix FontAwesome class after FA v6 upgrade
This commit is contained in:
@ -716,7 +716,7 @@ var CodeOceanEditor = {
|
|||||||
this.showOutOfMemoryMessage();
|
this.showOutOfMemoryMessage();
|
||||||
} else if (output.stderr) {
|
} else if (output.stderr) {
|
||||||
$.flash.danger({
|
$.flash.danger({
|
||||||
icon: ['fa', 'fa-bug'],
|
icon: ['fa-solid', 'fa-bug'],
|
||||||
text: $('#run').data('message-failure')
|
text: $('#run').data('message-failure')
|
||||||
});
|
});
|
||||||
Sentry.captureException(JSON.stringify(output));
|
Sentry.captureException(JSON.stringify(output));
|
||||||
|
@ -108,7 +108,7 @@ $(document).on('turbolinks:load', function() {
|
|||||||
stopReplay = function() {
|
stopReplay = function() {
|
||||||
clearInterval(playInterval);
|
clearInterval(playInterval);
|
||||||
playInterval = undefined;
|
playInterval = undefined;
|
||||||
playButton.find('span.fa').removeClass('fa-pause').addClass('fa-play')
|
playButton.find('span.fa-solid').removeClass('fa-pause').addClass('fa-play')
|
||||||
};
|
};
|
||||||
|
|
||||||
playButton.on('click', function(event) {
|
playButton.on('click', function(event) {
|
||||||
@ -127,7 +127,7 @@ $(document).on('turbolinks:load', function() {
|
|||||||
stopReplay();
|
stopReplay();
|
||||||
}
|
}
|
||||||
}, 1000);
|
}, 1000);
|
||||||
playButton.find('span.fa').removeClass('fa-play').addClass('fa-pause')
|
playButton.find('span.fa-solid').removeClass('fa-play').addClass('fa-pause')
|
||||||
} else {
|
} else {
|
||||||
stopReplay();
|
stopReplay();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user