Skip to content

Commit ccae9ed

Browse files
committed
fixed title in streamgraph
1 parent e662fb7 commit ccae9ed

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

vis/js/utils/title.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Sets correct page title based on the current action and state.
3-
*
3+
*
44
* @param {Object} action the Redux action object
55
* @param {string} defaultTitle the original page title Headstart has when it loads
66
* @param {Object} state the Redux state object
@@ -21,6 +21,7 @@ export const handleTitleAction = (action, defaultTitle, state) => {
2121
document.title = getSelectPaperTitle(action.paper, defaultTitle);
2222
return;
2323
case "DESELECT_PAPER":
24+
case "DESELECT_PAPER_BACKLINK":
2425
document.title = getDeselectPaperTitle(defaultTitle, state);
2526
return;
2627
default:

0 commit comments

Comments
 (0)