• Kyle Keating's avatar
    Prevent 0 flag count from rendering in DOM · 496af7f8
    Kyle Keating authored
    Preact exhibits funny behavior for inline conditionals that don’t resolve to an actual boolean value. When the flagCount variable is 0 it renders the conditional statement directly in the dom. Casting to a boolean prevents this.
    496af7f8
Name
Last commit
Last update
..
components Loading commit data...
directive Loading commit data...
filter Loading commit data...
services Loading commit data...
store Loading commit data...
templates Loading commit data...
test Loading commit data...
util Loading commit data...
annotation-metadata.js Loading commit data...
build-thread.js Loading commit data...
cross-origin-rpc.js Loading commit data...
events.js Loading commit data...
ga.js Loading commit data...
get-api-url.js Loading commit data...
host-config.js Loading commit data...
index.js Loading commit data...
live-reload-client.js Loading commit data...
markdown-commands.js Loading commit data...
media-embedder.js Loading commit data...
raven.js Loading commit data...
render-markdown.js Loading commit data...
search-client.js Loading commit data...
service-config.js Loading commit data...
tabs.js Loading commit data...
ui-constants.js Loading commit data...
virtual-thread-list.js Loading commit data...
websocket.js Loading commit data...