Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

Issue Fixed - Hidden Banner Not Shown #126

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shahzore-qureshi
Copy link

I fixed an issue where the banner was not able to be shown again to the user after it is hidden.

For example, if the user is typing, a developer can call the function

$(window).data('smartbanner').hide();

to hide the banner so that the user has more room to type. Once the user is finished typing, the developer can call the function

$(window).data('smartbanner').show();

to show the banner again. However, there was a bug in the show() function where the banner is not actually displayed to the user a second time. I have fixed the bug via calling the jQuery show() function after the banner animation.

Thanks,
Shahzore

I fixed an issue where the banner was not able to be shown again to the user after it is hidden. 

For example, if the user is typing, a developer can call the function
```
$(window).data('smartbanner').hide();
```
to hide the banner so that the user has more room to type. Once the user is finished typing, the developer can call the function
```
$(window).data('smartbanner').show();
```
to show the banner again. However, there was a bug in the show() function where the banner is not actually displayed to the user a second time. I have fixed the bug via calling the jQuery show() function after the banner animation. 

Thanks,
Shahzore
@jdalton jdalton added the bug label Jun 23, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants