Skip to content
This repository has been archived by the owner on May 26, 2020. It is now read-only.

Commit

Permalink
Merge pull request #89 from C-Lodder/js-alert
Browse files Browse the repository at this point in the history
Fix danger alert in core.js
  • Loading branch information
C-Lodder committed Oct 27, 2016
2 parents 7423ef7 + 35b73ec commit f850c5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions media/system/js/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ Joomla.editors.instances = Joomla.editors.instances || {};
// Message class
alertClass = (type == 'notice') ? 'alert-info' : 'alert-' + type;
alertClass = (type == 'message') ? 'alert-success' : alertClass;
alertClass = (type == 'error') ? 'alert-danger' : alertClass;

messagesBox.className = 'alert ' + alertClass;

Expand Down
2 changes: 1 addition & 1 deletion media/system/js/core.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f850c5f

Please sign in to comment.