css - Angularjs & Bootstrap ng-class issue -


i got fiddle http://jsfiddle.net/l60l3gv9/9/ when match item in table, highlights :

ng-class="{show: test==x.country}" 

whereas i'm expecting in fiddle :

http://jsfiddle.net/nmcsr5x9/1/

but last fiddle have declare other variables in scope.

any ideas why first fiddle acting ?

it's because use .show class. display table-row block bootstrap.

you have 2 options:

1. use class name, .highlight

2. add display: table-row !important; .show


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -