mirror of
https://github.com/wassname/talk.git
synced 2026-10-02 12:50:49 +08:00
More style
This commit is contained in:
1 parent
be1e5a2f7f
commit
c7a96cc0f1
3 files changed
+6
-6
No files matched your search
@@ -12,8 +12,8 @@ interface PermalinkProps {
|
||||
}
|
||||
|
||||
class Permalink extends React.Component<PermalinkProps> {
|
||||
// Helpers that prevents calling toggleVisibility more then once per frame.
|
||||
// In essence this means we'll only process an event only once.
|
||||
// Helper that prevents calling toggleVisibility more then once per frame.
|
||||
// In essence this means we'll process an event only once.
|
||||
// This might happen, when clicking on the button which will
|
||||
// cause its onClick to happen as well as onClickOutside.
|
||||
private toggleVisibilityOncePerFrame = oncePerFrame(
|
||||
|
||||
Reference in new issue
Block a user