Skip to content

Commit

Permalink
Merge branch 'dev' into ROU-11179
Browse files Browse the repository at this point in the history
  • Loading branch information
joselrio committed Sep 25, 2024
2 parents 0397643 + 79fcbbd commit b9735f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/OutSystems/OSUI/Utils/Menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ namespace OutSystems.OSUI.Utils.Menu {

// OrientationChange handler
const _onOrientationChangeCallbackHandler = (callback: OSFramework.OSUI.GlobalCallbacks.Generic): void => {
if (typeof callback === 'function') {
if (callback) {
OSFramework.OSUI.Helper.ApplySetTimeOut(() => {
_onOrientationChangeCallback();
}, 300);
Expand Down

0 comments on commit b9735f6

Please sign in to comment.