diff --git a/exec/load/DDLightbarMenu.js b/exec/load/DDLightbarMenu.js index 6e8dcda3d4e511f679ded022f854034883e5b0d9..46b8c21c09a0aa2d705647ae5e29df27fe22dcd4 100644 --- a/exec/load/DDLightbarMenu.js +++ b/exec/load/DDLightbarMenu.js @@ -1120,7 +1120,7 @@ function DDLightbarMenu_SetBorderChars(pBorderChars) "top", "bottom", "left", "right" ]; for (var i = 0; i < borderPropNames.length; ++i) { - if (pBorderChars.hasOwnProperty(borderPropNames)) + if (pBorderChars.hasOwnProperty(borderPropNames[i])) this.borderChars[borderPropNames[i]] = pBorderChars[borderPropNames[i]]; } }