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){
func.call(context) })
// 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] || [])
.forEach(function(func){
func.call(context) })

View File

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