compact / angular-bootstrap-lightbox

An AngularJS lightbox built using UI Bootstrap Modal.
http://compact.github.io/angular-bootstrap-lightbox/
MIT License
306 stars 134 forks source link

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

Closed DarthOstrich closed 8 years ago

DarthOstrich commented 8 years ago

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 commented 8 years ago

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>