Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix selecting code with one click does not work anymore #12638

Merged
merged 1 commit into from Mar 23, 2018
Merged

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Mar 22, 2018

This worked for me locally and seems suggested by https://developer.mozilla.org/en-US/docs/Web/API/Selection/addRange

fix #12637

@tsteur tsteur added not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Needs Review PRs that need a code review labels Mar 22, 2018
@mattab mattab added this to the 3.4.1 milestone Mar 23, 2018
@diosmosis
Copy link
Member

Looks good, tested on IE10, firefox, chrome & safari. The selection range on safari is a bit off (selects a new line as well), but I don't think that's a big deal.

@mattab mattab merged commit 27ce0a8 into 3.x-dev Mar 23, 2018
@mattab mattab modified the milestones: 3.4.1, 3.4.0 Mar 23, 2018
@mattab mattab deleted the 12637 branch March 23, 2018 03:42
InfinityVoid pushed a commit to InfinityVoid/matomo that referenced this pull request Oct 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Chrome: Selecting the tracking code with one click does not work anymore
3 participants