Skip to content

Commit 5a3eba8

Browse files
Update app/assets/javascripts/discourse/app/controllers/topic.js
Co-authored-by: David Taylor <david@taylorhq.com>
1 parent c4f527b commit 5a3eba8

File tree

1 file changed

+1
-0
lines changed
  • app/assets/javascripts/discourse/app/controllers

1 file changed

+1
-0
lines changed

app/assets/javascripts/discourse/app/controllers/topic.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,7 @@ export default class TopicController extends Controller {
392392
return;
393393
}
394394
event?.preventDefault();
395+
// If the user is selecting the title, don't go into edit mode
395396
const selection = window.getSelection();
396397
if (selection.toString().length > 0) {
397398
return;

0 commit comments

Comments
 (0)