Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions media/system/js/core-uncompressed.js
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,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-error alert-danger' : alertClass;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change == to ===

Also apply for the lines above too.


messagesBox.className = 'alert ' + alertClass;

Expand Down