jquery.smartbanner icon indicating copy to clipboard operation
jquery.smartbanner copied to clipboard

Issue Fixed - Hidden Banner Not Shown

Open shahzore-qureshi opened this issue 8 years ago • 0 comments

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

shahzore-qureshi avatar Mar 03 '16 18:03 shahzore-qureshi