Skip to content
This repository has been archived by the owner on Aug 27, 2022. It is now read-only.

Commit

Permalink
take picture: red error message
Browse files Browse the repository at this point in the history
Change-Id: I85a5e62240646806098a24f5e083ff1ca1791a0b
  • Loading branch information
andi34 committed Dec 9, 2019
1 parent 07f0f10 commit fd0ebde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/js/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,9 @@ const photoBooth = (function () {
setTimeout(function () {
$('.spinner').hide();
$('.loading').empty()
$('.loading').append($('<p>').text(L10N.error));
$('.loading').append($('<p style="color:red">').text(L10N.error));
if (config.show_error_messages || config.dev) {
$('.loading').append($('<p class="text-muted">').text(data.error));
$('.loading').append($('<p class="text-muted" style="color:red">').text(data.error));
}
$('.loading').append($('<a class="btn" href="./">').text(L10N.reload));
}, 500);
Expand Down

0 comments on commit fd0ebde

Please sign in to comment.