vendor/assets/javascripts/messenger.js in messengerjs-rails-1.3.6.1 vs vendor/assets/javascripts/messenger.js in messengerjs-rails-1.3.6.2
- old
+ new
@@ -572,10 +572,10 @@
_Message.prototype.template = function(opts) {
var $action, $actions, $cancel, $link, $message, $text, action, _i, _len, _ref2,
_this = this;
$message = $("<div class='messenger-message message alert " + opts.type + " message-" + opts.type + " alert-" + opts.type + "'>");
if (opts.showCloseButton) {
- $cancel = $('<button type="button" class="close" data-dismiss="alert">×</button>');
+ $cancel = $('<button type="button" class="messenger-close" data-dismiss="alert">×</button>');
$cancel.click(function() {
_this.cancel();
return true;
});
$message.append($cancel);