mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-04-07 14:09:12 +08:00
fix check path
This commit is contained in:
@ -2296,7 +2296,7 @@ function (window, undefined) {
|
||||
}
|
||||
|
||||
const commands = this.ArrPathCommand;
|
||||
if (commands.length <= 0) {
|
||||
if (commands.length <= 1) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@ -2323,7 +2323,7 @@ function (window, undefined) {
|
||||
}
|
||||
|
||||
const commands = this.ArrPathCommand;
|
||||
if (commands.length <= 0) {
|
||||
if (commands.length <= 1) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user