Skip to content
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.

Fixed an issue that was causing the wrong word to highlight #831

Merged
merged 3 commits into from
Jun 24, 2017

Conversation

iMoe037
Copy link
Contributor

@iMoe037 iMoe037 commented Jun 24, 2017

In reference to issue #825
The issue was the element id's were being appended with the audio position number. Each time a line component is rendered the audioPosition goes back to 1 giving the same ids on multiple lines.

To fix this instead of using audioPosition, appended the word.position on line 26. The words are now highlighted in sequential order, although the audio and highlighting are not in sync (another bug?).

I only changed the end of line 72. The pre commit hook or something else must have changed line 71 to span multiple lines.

@naveed-ahmad
Copy link
Contributor

rebuild

1 similar comment
@ahmedre
Copy link
Contributor

ahmedre commented Jun 24, 2017

rebuild

@ahmedre
Copy link
Contributor

ahmedre commented Jun 24, 2017

Deployed to: http://staging.quran.com:32889

@ahmedre
Copy link
Contributor

ahmedre commented Jun 24, 2017

Deployed to: http://staging.quran.com:32891

@naveed-ahmad naveed-ahmad merged commit 040b464 into quran:master Jun 24, 2017
@naveed-ahmad
Copy link
Contributor

Jazak Allah kharain for PR

@iMoe037
Copy link
Contributor Author

iMoe037 commented Jun 25, 2017

No problem inshallah more coming soon!

@mmahalwy
Copy link
Contributor

@iMoe037 so so awesome! Thank you

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants