This website works better with JavaScript.
Home
Explore
Help
Sign In
nekobus
/
mastodon_neko
forked from
closed-social/mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Fix pinning a column in web UI sometimes redirecting out of web UI (
#13376
)
Fix
#13216
closed-social-v3
Eugen Rochko
4 years ago
committed by
GitHub
parent
47ab0bd3e4
commit
4bf5aeae83
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
app/javascript/mastodon/components/column_header.js
+ 2
- 1
app/javascript/mastodon/components/column_header.js
View File
@ -76,8 +76,9 @@ class ColumnHeader extends React.PureComponent {
handlePin
=
(
)
=>
{
if
(
!
this
.
props
.
pinned
)
{
this
.
historyBack
(
)
;
this
.
context
.
router
.
history
.
replace
(
'/'
)
;
}
this
.
props
.
onPin
(
)
;
}
Write
Preview
Loading…
Cancel
Save