Skip to content

Commit

Permalink
Fix for #238
Browse files Browse the repository at this point in the history
  • Loading branch information
needim committed Dec 29, 2014
1 parent a5bff2d commit d93ecb6
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = function(grunt) {
commit : false,
commitMessage : 'Release v%VERSION%',
commitFiles : ['-a'],
createTag : true,
createTag : false,
tagName : 'v%VERSION%',
tagMessage : 'Version %VERSION%',
push : false,
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name" : "noty",
"version" : "2.3.3",
"version" : "2.3.4",
"main" : "js/noty/packaged/jquery.noty.packaged.js",
"authors" : [
"Nedim Arabacı"
Expand Down
4 changes: 1 addition & 3 deletions js/noty/jquery.noty.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
@package noty - jQuery Notification Plugin
@version version: 2.3.3
@version version: 2.3.4
@contributors https://github.com/needim/noty/graphs/contributors
@documentation Examples and Documentation - http://needim.github.com/noty/
Expand Down Expand Up @@ -183,8 +183,6 @@
return;
}

//this.$bar.dequeue();

if(!this.shown && !this.showing) { // If we are still waiting in the queue just delete from queue
var queue = [];
$.each($.noty.queue, function(i, n) {
Expand Down
8 changes: 3 additions & 5 deletions js/noty/packaged/jquery.noty.packaged.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

/*!
@package noty - jQuery Notification Plugin
@version version: 2.3.3
@version version: 2.3.4
@contributors https://github.com/needim/noty/graphs/contributors
@documentation Examples and Documentation - http://needim.github.com/noty/
Expand Down Expand Up @@ -81,9 +81,9 @@
$.each(this.options.buttons, function(i, button) {
var $button = $('<button/>').addClass((button.addClass) ? button.addClass : 'gray').html(button.text).attr('id', button.id ? button.id : 'button-' + i)
.appendTo(self.$bar.find('.noty_buttons'))
.on('click', function() {
.on('click', function(event) {
if($.isFunction(button.onClick)) {
button.onClick.call($button, self);
button.onClick.call($button, self, event);
}
});
});
Expand Down Expand Up @@ -190,8 +190,6 @@
return;
}

//this.$bar.dequeue();

if(!this.shown && !this.showing) { // If we are still waiting in the queue just delete from queue
var queue = [];
$.each($.noty.queue, function(i, n) {
Expand Down
2 changes: 1 addition & 1 deletion js/noty/packaged/jquery.noty.packaged.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion noty.jquery.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name" : "noty",
"version" : "2.3.3",
"version" : "2.3.4",
"title" : "noty - a jquery notification plugin",
"description" : "noty is a jQuery plugin that makes it easy to create alert - success - error - warning - information - confirmation messages as an alternative the standard alert dialog. Each notification is added to a queue. (Optional)",
"keywords" : ["noty", "notification", "plugin", "jquery", "javascript", "alert", "error", "warning", "information", "confirmation"],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "noty",
"version": "2.3.3",
"version": "2.3.4",
"title": "noty - a jquery notification plugin",
"description": "noty is a jQuery plugin that makes it easy to create alert - success - error - warning - information - confirmation messages as an alternative the standard alert dialog. Each notification is added to a queue. (Optional)",
"homepage": "http://needim.github.com/noty",
Expand Down

0 comments on commit d93ecb6

Please sign in to comment.