Ignore:
Timestamp:
2023-07-31T09:11:24+12:00 (11 months ago)
Author:
anupama
Message:

I'd run a JS change Dr Bainbridge made by Finn, where the spread operator was used in a way not liked by older versions of firefox (running on the local 32 bit linux test VM). I think Finn ok-ed the change, but I seem to have forgotten to commit it after the change was made locally for testing. Committing now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/js/utility_scripts.js

    r37590 r37860  
    17311731            },
    17321732            color: regColour + regionTransparency,
    1733             ...(selected) && {color: "rgba(255,50,50,0.5)"},
     1733            //...(selected) && {color: "rgba(255,50,50,0.5)"},
    17341734         });
     1735     // I think I checked with Finn that this fix by Dr Bainbridge is fine:
     1736     if(selected) {
     1737         associatedReg.color="rgba(255,50,50,0.5)";
     1738     }
     1739     
    17351740         data.tempSpeakerObjects[i].region = associatedReg;
    17361741         if (selected && data.tempSpeakerObjects[i].locked) { // add padlock to regions if they are selected and locked
Note: See TracChangeset for help on using the changeset viewer.