Lista Doni Navi 3
This commit is contained in:
@@ -839,8 +839,14 @@ module.exports = {
|
||||
},
|
||||
|
||||
getRigaColByPosUp(mypos) {
|
||||
mypos.riga = mypos.riga - mypos.numup;
|
||||
mypos.col = Math.ceil(mypos.col / (Math.pow(2, mypos.numup)));
|
||||
if (mypos.numup > 0) {
|
||||
mypos.riga = mypos.riga - mypos.numup;
|
||||
mypos.col = Math.ceil(mypos.col / (Math.pow(2, mypos.numup)));
|
||||
}
|
||||
if (mypos.numup < 0) {
|
||||
mypos.riga = mypos.riga - mypos.numup;
|
||||
mypos.col = Math.ceil(mypos.col * (Math.pow(2, -mypos.numup)));
|
||||
}
|
||||
},
|
||||
|
||||
appendLeadingZeroes(n) {
|
||||
@@ -1111,9 +1117,6 @@ module.exports = {
|
||||
}
|
||||
|
||||
if (table === 'navi') {
|
||||
if ('link_chat' in fieldsvalue) {
|
||||
return true;
|
||||
}
|
||||
if ('date_made_gift' in fieldsvalue) {
|
||||
return true;
|
||||
}
|
||||
@@ -1121,6 +1124,11 @@ module.exports = {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
if (table === 'navepersistente') {
|
||||
if ('link_chat' in fieldsvalue) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user