Skip to content

Commit

Permalink
Removed javascript syntax that is too new for old browsers.
Browse files Browse the repository at this point in the history
  • Loading branch information
bp2008 committed Feb 11, 2024
1 parent 682c7a3 commit 188d4ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui3/ui3.js
Original file line number Diff line number Diff line change
Expand Up @@ -12002,7 +12002,7 @@ function ClipLoader(clipsBodySelector)
*/
function SetFlags(flags, flagsToSet, mask)
{
let result = flags & ~mask; // Clear the bits of flags that are set in mask
var result = flags & ~mask; // Clear the bits of flags that are set in mask
result |= (flagsToSet & mask); // Set the bits that are set in both mask and flagsToSet
return result;
}
Expand Down Expand Up @@ -33539,7 +33539,7 @@ var TRIGGER_SOURCE_NOSIGNAL = (1 << 8);
function DecodeClipFlags(flags)
{
var names = [];
for (let property in BIDBFLAG)
for (var property in BIDBFLAG)
{
if (BIDBFLAG.hasOwnProperty(property) && (flags & BIDBFLAG[property]) > 0)
names.push(property);
Expand Down

0 comments on commit 188d4ea

Please sign in to comment.