aboutsummaryrefslogtreecommitdiff
path: root/src/client/views
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views')
-rw-r--r--src/client/views/DocumentDecorations.scss4
-rw-r--r--src/client/views/DocumentDecorations.tsx4
2 files changed, 3 insertions, 5 deletions
diff --git a/src/client/views/DocumentDecorations.scss b/src/client/views/DocumentDecorations.scss
index 39fc7031a..117e63a37 100644
--- a/src/client/views/DocumentDecorations.scss
+++ b/src/client/views/DocumentDecorations.scss
@@ -287,10 +287,10 @@ $linkGap : 3px;
@keyframes shadow-pulse {
0% {
- box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);
+ box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.8);
}
100% {
- box-shadow: 0 0 0 35px rgba(0, 0, 0, 0);
+ box-shadow: 0 0 0 10px rgba(0, 255, 0, 0);
}
} \ No newline at end of file
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx
index 0a971ed22..e8a1d08e4 100644
--- a/src/client/views/DocumentDecorations.tsx
+++ b/src/client/views/DocumentDecorations.tsx
@@ -727,9 +727,7 @@ export class DocumentDecorations extends React.Component<{}, { value: string }>
return (
<div className={"linkButtonWrapper"}>
<div title={`${published ? "Push" : "Publish"} to Google Docs`} className="linkButton-linker" onClick={() => {
- if (!published) {
- runInAction(() => this.isAnimatingPulse = true);
- }
+ runInAction(() => this.isAnimatingPulse = true);
DocumentDecorations.hasPushedHack = false;
this.targetDoc[Pushes] = NumCast(this.targetDoc[Pushes]) + 1;
}} style={{ animation: this.isAnimatingPulse ? "shadow-pulse 1s infinite" : "none" }}>