Skip to content

Commit 14ecd6c

Browse files
committed
sadly reload page to go to "community" page
1 parent 0fe093c commit 14ecd6c

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

‎src/reducers/mode.js‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,8 @@ const setFullScreen = function (isFullScreen) {
3232
};
3333
};
3434
const setPlayer = function (isPlayerOnly) {
35-
return {
36-
type: SET_PLAYER,
37-
isPlayerOnly: isPlayerOnly
38-
};
35+
//reload page (ASSUMES HASH MODE)
36+
window.location.href = window.location.origin + "/" + window.location.hash;
3937
};
4038

4139
export {

0 commit comments

Comments
 (0)