Permalink
Browse files

Coding standard updates.

  • Loading branch information...
toolstack authored and ocean90 committed Sep 1, 2017
1 parent 9b1fbfc commit e65ed7c1f052dcfb90cfc0b4cb18b5fa2e927087
Showing with 2 additions and 2 deletions.
  1. +2 −2 assets/js/common.js
View
@@ -20,11 +20,11 @@ var $gp = function($) { return {
},
generic_message: function(css_class, message, dismiss) {
var dismiss_message = '';
if ( true === dismiss ) {
dismiss_message = '<div id="gp-js-message-dismiss" class="gp-js-message-dismiss">Discard</div>';
}
$gp.notices.element.removeClass().addClass('gp-js-message').addClass(css_class).html( '<div id="gp-js-message-content" class="gp-js-message-content">' + message + dismiss_message + '</div>');
$gp.notices.center();
$gp.notices.element.show();

0 comments on commit e65ed7c

Please sign in to comment.