1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-06-28 05:15:54 +00:00
Fixed: Hide the red dot added to chat by the `gem_gem_gem_gem` experiment.
Changed: Attempt to read the stream start time from a new property for directory cards.
This commit is contained in:
SirStendec 2019-06-04 16:15:06 -04:00
parent 1e1598a2fc
commit a0bb84deef
3 changed files with 3 additions and 2 deletions

View file

@ -151,7 +151,7 @@ ${typeof x[1] === 'string' ? x[1] : JSON.stringify(x[1], null, 4)}`
FrankerFaceZ.Logger = Logger;
const VER = FrankerFaceZ.version_info = {
major: 4, minor: 2, revision: 2,
major: 4, minor: 2, revision: 3,
commit: __git_commit__,
build: __webpack_hash__,
toString: () =>

View file

@ -1,4 +1,5 @@
.get-bits-button,
.gem-notif-icon,
.chat-input button[data-a-target="bits-button"],
button[data-test-selector="get-bits-button__top-nav-button"],
.channel-header__right > .tw-mg-l-1 > div > div > button:not([data-a-target]) {

View file

@ -385,7 +385,7 @@ export default class Directory extends SiteModule {
const container = this.fine.getChildNode(inst),
card = container && container.querySelector && container.querySelector('.preview-card-overlay'),
setting = this.settings.get('directory.uptime'),
created_at = get(created_path, inst),
created_at = inst.props && inst.props.createdAt || get(created_path, inst),
up_since = created_at && new Date(created_at),
uptime = up_since && Math.floor((Date.now() - up_since) / 1000) || 0;