minor bugfix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2018-03-30 14:47:54 +03:00
parent 791ee3e8c4
commit 8fb878bcc1
2 changed files with 6 additions and 5 deletions

View File

@ -1045,10 +1045,11 @@ module.MetaActions = {
// XXX move to a better spot...
alias: Action('alias', function(alias, target){
// remove alias...
if((arguments.length == 2
&& target === false || target === null)
&& this[alias] instanceof Alias){
delete this[alias]
if(arguments.length == 2
&& (target === false || target === null)){
// delete only aliases...
this[alias] instanceof Alias
&& (delete this[alias])
// set alias...
} else {

View File

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