Skip to content

Commit

Permalink
Detect warning sign in mobile view correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
mapfde committed Jul 6, 2015
1 parent 7a6c228 commit 6509c7d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ ajax(
if (/faellt.aus/i.test(info)) {
info = "X!";
}
else if (/achtung/i.test(info)) {
info = "W!";
}
else if (/<span class=\"okmsg\">(.+?)<\/span>/i.test(info)) {
var re2 = /<span class=\"okmsg\">(.+?)<\/span>/i;
var arr2 = re2.exec(info);
Expand Down

0 comments on commit 6509c7d

Please sign in to comment.