toastify-js
Advanced tools
Comparing version 1.6.0 to 1.6.1
@@ -5,2 +5,6 @@ # Changelog | ||
## [1.6.1] - 2019-06-29 | ||
* Bugfix: Disabling `stopOnFocus` | ||
## [1.6.0] - 2019-06-29 | ||
@@ -7,0 +11,0 @@ |
{ | ||
"name": "toastify-js", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"description": "Toastify is a lightweight, vanilla JS toast notification library.", | ||
@@ -5,0 +5,0 @@ "main": "./src/toastify.js", |
@@ -6,3 +6,3 @@ # Toastify | ||
[![toastify-js](https://img.shields.io/badge/toastify--js-1.6.0-brightgreen.svg)](https://www.npmjs.com/package/toastify-js) | ||
[![toastify-js](https://img.shields.io/badge/toastify--js-1.6.1-brightgreen.svg)](https://www.npmjs.com/package/toastify-js) | ||
@@ -9,0 +9,0 @@ Toastify is a lightweight, vanilla JS toast notification library. |
/*! | ||
* Toastify js 1.6.0 | ||
* Toastify js 1.6.1 | ||
* https://github.com/apvarun/toastify-js | ||
@@ -21,3 +21,3 @@ * @license MIT licensed | ||
// Library version | ||
version = "1.6.0"; | ||
version = "1.6.1"; | ||
@@ -56,3 +56,3 @@ // Defining the prototype of the object | ||
this.options.className = options.className || ""; // additional class names for the toast | ||
this.options.stopOnFocus = options.stopOnFocus || true; // stop timeout on focus | ||
this.options.stopOnFocus = options.stopOnFocus === undefined? true: options.stopOnFocus; // stop timeout on focus | ||
@@ -59,0 +59,0 @@ // Returning the current object for chaining functions |
Sorry, the diff of this file is not supported yet
47968