Skip to content

Commit

Permalink
use more intuitive naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert-Costello committed Jun 28, 2024
1 parent beedb55 commit 23d864a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ hqDefine("cloudcare/js/formplayer/menus/api", [
lastRecordedLocation = FormplayerFrontend.getChannel().request('lastRecordedLocation'),
timezoneOffsetMillis = (new Date()).getTimezoneOffset() * 60 * 1000 * -1,
tzFromBrowser = Intl.DateTimeFormat().resolvedOptions().timeZone,
screenSize = String(window.innerWidth),
windowWidth = String(window.innerWidth),
formplayerUrl = user.formplayer_url,
displayOptions = user.displayOptions || {},
defer = $.Deferred(),
Expand Down Expand Up @@ -185,7 +185,7 @@ hqDefine("cloudcare/js/formplayer/menus/api", [
"isShortDetail": params.isShortDetail,
"isRefreshCaseSearch": params.isRefreshCaseSearch,
"requestInitiatedByTag": params.requestInitiatedByTag,
"screen_size": screenSize,
"windowWidth": windowWidth,
};
options.data = JSON.stringify(data);
options.url = formplayerUrl + '/' + route;
Expand Down

0 comments on commit 23d864a

Please sign in to comment.