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 for multiple wideareas on a single page #4

Merged
merged 1 commit into from
May 26, 2013

Conversation

beastburn
Copy link
Contributor

You need to remove the class "widearea-fullscreened" from the targeted textarea on closing the full screen text area in order to allow for multiple "wideareas" on a single page.

You need to remove the class "widearea-fullscreened" from the targeted textarea on closing the full screen text area in order to allow for multiple "wideareas" on a single page.
@afshinm
Copy link
Contributor

afshinm commented May 23, 2013

Great! Thanks @beastburn. Let me review it.

@kemaldaggen
Copy link

smallTextArea.className = smallTextArea.classname.replace("widearea-fullscreened ", "");

shuld be,

smallTextArea.className = smallTextArea.className.replace("widearea-fullscreened ", "");

and yes it correctly fixes the bug that multiple active WideArea instances is now allowed bug!

Cheers.

ehsandotnet added a commit that referenced this pull request May 26, 2013
Fix multiple wideareas on a single page
@ehsandotnet ehsandotnet merged commit dd03618 into usablica:master May 26, 2013
@ehsandotnet
Copy link
Contributor

Thanks

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

Successfully merging this pull request may close these issues.

4 participants