File tree 5 files changed +10
-6
lines changed
5 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 2
2
3
3
All the changes made to toastify-js library.
4
4
5
+ ## [ 1.6.1] - 2019-06-29
6
+
7
+ * Bugfix: Disabling ` stopOnFocus `
8
+
5
9
## [ 1.6.0] - 2019-06-29
6
10
7
11
* ** Deprecation Warning** : Migrating from ` positionLeft ` property to ` position `
Original file line number Diff line number Diff line change 3
3
![ forthebadge] ( https://forthebadge.com/images/badges/made-with-javascript.svg )
4
4
![ forthebadge] ( https://forthebadge.com/images/badges/built-with-love.svg )
5
5
6
- [ ![ toastify-js] ( https://img.shields.io/badge/toastify--js-1.6.0 -brightgreen.svg )] ( https://www.npmjs.com/package/toastify-js )
6
+ [ ![ toastify-js] ( https://img.shields.io/badge/toastify--js-1.6.1 -brightgreen.svg )] ( https://www.npmjs.com/package/toastify-js )
7
7
8
8
Toastify is a lightweight, vanilla JS toast notification library.
9
9
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " toastify-js" ,
3
- "version" : " 1.6.0 " ,
3
+ "version" : " 1.6.1 " ,
4
4
"description" :
5
5
" Toastify is a lightweight, vanilla JS toast notification library." ,
6
6
"main" : " ./src/toastify.js" ,
Original file line number Diff line number Diff line change 1
1
/*!
2
- * Toastify js 1.6.0
2
+ * Toastify js 1.6.1
3
3
* https://github.com/apvarun/toastify-js
4
4
* @license MIT licensed
5
5
*
Original file line number Diff line number Diff line change 1
1
/*!
2
- * Toastify js 1.6.0
2
+ * Toastify js 1.6.1
3
3
* https://github.com/apvarun/toastify-js
4
4
* @license MIT licensed
5
5
*
18
18
return new Toastify . lib . init ( options ) ;
19
19
} ,
20
20
// Library version
21
- version = "1.6.0 " ;
21
+ version = "1.6.1 " ;
22
22
23
23
// Defining the prototype of the object
24
24
Toastify . lib = Toastify . prototype = {
52
52
this . options . backgroundColor = options . backgroundColor ; // toast background color
53
53
this . options . avatar = options . avatar || "" ; // img element src - url or a path
54
54
this . options . className = options . className || "" ; // additional class names for the toast
55
- this . options . stopOnFocus = options . stopOnFocus || true ; // stop timeout on focus
55
+ this . options . stopOnFocus = options . stopOnFocus === undefined ? true : options . stopOnFocus ; // stop timeout on focus
56
56
57
57
// Returning the current object for chaining functions
58
58
return this ;
You can’t perform that action at this time.
0 commit comments