This commit is contained in:
Mr. Stallion 2019-12-07 09:32:49 -06:00
parent 6de10aacf5
commit dda5bd340e
2 changed files with 9 additions and 1 deletions

View File

@ -57,6 +57,11 @@
[url=https://imgur.com/a/nMafj]Imgur album[/url]
[url=http://i.imgur.com/txEREOg.gifv]Imgur video[/url]
[url=https://www.punishbang.com/videos/1898/tied-redhead-is-on-her-knees-and-can/]Test[/url]
[url=https://www.pornhub.com/view_video.php?viewkey=ph5b2c03dc1e23b]Test[/url]
*/
import * as _ from 'lodash';

View File

@ -143,7 +143,10 @@ export class ImagePreviewMutator {
${this.injectHtmlJs('<div id="imageCount" style="z-index: 1000000; position: absolute; bottom: 0; right: 0; background: green; border: 2px solid lightgreen; width: 5rem; height: 5rem; font-size: 2rem; font-weight: bold; color: white; border-radius: 5rem; margin: 0.75rem;"><div id="imageCountInner" style="position: absolute; top: 50%; left: 50%; transform: translateY(-50%) translateX(-50%);"></div></div>')}
const imageCountEl = document.getElementById('imageCountInner');
imageCountEl.innerHTML = '+' + (imageCount - 1);
if (imageCountEl) {
imageCountEl.innerHTML = '+' + (imageCount - 1);
}
}
`
);