Changeset 36269
- Timestamp:
- 2022-06-21T14:58:37+12:00 (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/interfaces/default/js/utility_scripts.js
r36217 r36269 268 268 var itemType; 269 269 270 var accentColour = "#4CA72D";271 //var accentColour = "#F8C537";270 // var accentColour = "#4CA72D"; 271 var accentColour = "#F8C537"; 272 272 var regionTransparency = "59"; 273 273 … … 279 279 backgroundColor: "rgb(54, 73, 78)", 280 280 waveColor: "white", 281 progressColor: ["white", accentColour],281 progressColor: accentColour, 282 282 barWidth: 2, 283 283 barHeight: 1.2, … … 326 326 document.getElementById("chapter" + region.id.replace("region", "")).scrollIntoView({ 327 327 behavior: "smooth", 328 block: " center"328 block: "nearest" 329 329 }); 330 330 } … … 344 344 itemType = "word"; 345 345 loadJSONFile(inputFile); 346 } else { 346 } else { 347 347 console.log("Filetype of " + inputFile + " not supported.") 348 348 } 349 349 loader.remove(); // remove load text 350 350 }); 351 352 function downloadURI(loc, name) 353 { 351 352 function downloadURI(loc, name) { 354 353 var link = document.createElement("a"); 355 354 link.download = name;
Note:
See TracChangeset
for help on using the changeset viewer.