minor bugfix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2019-01-15 05:05:29 +03:00
parent 372727f42e
commit 714d70ee9f
2 changed files with 3 additions and 2 deletions

View File

@ -903,7 +903,8 @@ Action.prototype.post = function(context, data){
.forEach(function(func){ .forEach(function(func){
func.call(context) }) func.call(context) })
// top calls... // top calls...
if(context.__action_after_running[0] == null){ if(context.__action_after_running
&& context.__action_after_running[0] == null){
;(context.__action_after_running[1] || []) ;(context.__action_after_running[1] || [])
.forEach(function(func){ .forEach(function(func){
func.call(context) }) func.call(context) })

View File

@ -1,6 +1,6 @@
{ {
"name": "ig-actions", "name": "ig-actions",
"version": "3.22.0", "version": "3.22.1",
"description": "", "description": "",
"main": "actions.js", "main": "actions.js",
"scripts": { "scripts": {