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

the "x" isn't rendering properly in the lightbox #61

Closed
DarthOstrich opened this issue May 15, 2016 · 1 comment
Closed

the "x" isn't rendering properly in the lightbox #61

DarthOstrich opened this issue May 15, 2016 · 1 comment

Comments

@DarthOstrich
Copy link

When the page renders, I get:
<button class="close" aria-hidden="true" ng-click="$dismiss()">×</button>

should be:
<button class="close" aria-hidden="true" ng-click="$dismiss()">x</button>

I checked the angular-bootstrap-lightbox.js file and it shows the "x" appropriatley.
screen shot 2016-05-14 at 7 31 19 pm

@DarthOstrich
Copy link
Author

I fixed it. I found the elements in the angular-bootstrap-lightbox.js and changed them to the code below. I guess how I had my app setup, it didn't like the little markings without the hex value.
<button class=close aria-hidden=true ng-click=$dismiss()>X</button>
<a class=\"btn btn-xs btn-default\" ng-click=Lightbox.prevImage()> &#8592; Previous</a>
<a class=\"btn btn-xs btn-default\" ng-click=Lightbox.nextImage()>Next &#8594;</a></div></div>

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

No branches or pull requests

1 participant