mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-09-10 23:06:06 +00:00
Fix contrastcolour typo
This commit is contained in:
@@ -38,8 +38,8 @@ exports.run = function(target,fallbackTarget,colourA,colourB) {
|
||||
if(rgbColourA && !rgbColourB) {
|
||||
return rgbColourA;
|
||||
}
|
||||
if(rgbColourA && !rgbColourB) {
|
||||
return rgbColourA;
|
||||
if(rgbColourB && !rgbColourA) {
|
||||
return rgbColourB;
|
||||
}
|
||||
if(!rgbColourA && !rgbColourB) {
|
||||
// If neither colour is readable, return a crude inverse of the target
|
||||
|
Reference in New Issue
Block a user