Skip to content
Snippets Groups Projects
Merged Timothee P requested to merge redmine-issues/12015 into develop
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -101,7 +101,7 @@ export default new Vuex.Store({
},
DISPLAY_MESSAGE(state, comment) {
state.messages = [{ comment }, ...state.messages];
document.getElementById("messages").scrollIntoView({ block: "start", inline: "nearest" });
if (document.getElementById("content")) document.getElementById("content").scrollIntoView({ block: "start", inline: "nearest" });
setTimeout(() => {
state.messages = [];
}, 3000);
Loading