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

Left/Right button don't work in FireFox #2

Closed
philoliver opened this issue Sep 10, 2017 · 2 comments
Closed

Left/Right button don't work in FireFox #2

philoliver opened this issue Sep 10, 2017 · 2 comments

Comments

@philoliver
Copy link

Hi,
First, thanks for making this neat component available!

I experience an issue in FireFox. The left/right buttons don't work on my Mac. Exception:"TypeError: event.srcElement is undefined".

I was able to temporarily fix it by replacing the following line:

var btn = event.srcElement.classList;

with

var element = event.target || event.srcElement
var btn = element.classList;

Cheers,
Philipp

@sheikalthaf
Copy link
Owner

hello,
Thanks for your appreciation.

Thanks for the issue and the solution. Updated the code and i will push the update with some new options today.

I'm lack of testing. If you find any issues please create a issue and i love to solve problems. Hope you enjoying the carousel.

Sheik Althaf

@sheikalthaf
Copy link
Owner

Updated the carousel with this bug fixing and more. Please read CHANGELOG.md file for more details

sheikalthaf pushed a commit that referenced this issue Nov 12, 2017
merged back from sheikalthaf/ngx-carousel
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants