mirror of
https://github.com/kiwix/kiwix-js-pwa.git
synced 2025-09-08 03:37:12 -04:00
Correct image placeholders in FFOS and Firefox
Former-commit-id: 31cd70e19d8b80fcbb1f7fc43af02d3bcb589788 [formerly 97dfdaae65646f82475b3d29f6373e56f5837510] Former-commit-id: 7ffc40aae48f8e6046975938273729cc686cc9e1
This commit is contained in:
parent
943a26e866
commit
e36dca32a5
BIN
www/img/lightBlue.png
Normal file
BIN
www/img/lightBlue.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 871 B |
@ -837,7 +837,7 @@ define(['jquery', 'zimArchiveLoader', 'util', 'uiUtil', 'cookies','abstractFiles
|
||||
if (!params['imageDisplay']) {
|
||||
//Ensure 36px clickable image height so user can request images by clicking [kiwix-js #173]
|
||||
htmlArticle = htmlArticle.replace(/(<img\s+[^>]*\b)height(\s*=\s*)/ig,
|
||||
'$1height="36" alt="Placeholder" style="color: lightblue; background-color: lightblue;" ' +
|
||||
'$1height="36" src="../img/lightBlue.png" style="color: lightblue; background-color: lightblue;" ' +
|
||||
'data-kiwixheight$2');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user