mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-28 16:30:59 +01:00
Fix thumb selection style
Summary: I broke the code which shows which thumb is currently selected when I made the URLs fancy, by changing the container from `div` to `a`. Test Plan: Verified current thumb is now highlighted. Reviewers: chad Reviewed By: chad CC: aran Differential Revision: https://secure.phabricator.com/D5231
This commit is contained in:
parent
ec6f566bc1
commit
2fe3cd72bf
3 changed files with 4 additions and 4 deletions
|
@ -1891,7 +1891,7 @@ celerity_register_resource_map(array(
|
|||
),
|
||||
'javelin-behavior-pholio-mock-view' =>
|
||||
array(
|
||||
'uri' => '/res/c320fd85/rsrc/js/application/pholio/behavior-pholio-mock-view.js',
|
||||
'uri' => '/res/59c4d3ae/rsrc/js/application/pholio/behavior-pholio-mock-view.js',
|
||||
'type' => 'js',
|
||||
'requires' =>
|
||||
array(
|
||||
|
@ -3239,7 +3239,7 @@ celerity_register_resource_map(array(
|
|||
),
|
||||
'pholio-css' =>
|
||||
array(
|
||||
'uri' => '/res/580babaa/rsrc/css/application/pholio/pholio.css',
|
||||
'uri' => '/res/8883529b/rsrc/css/application/pholio/pholio.css',
|
||||
'type' => 'css',
|
||||
'requires' =>
|
||||
array(
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
}
|
||||
|
||||
.device-desktop .pholio-mock-carousel-thumb-item:hover,
|
||||
.pholio-mock-carousel-thumb-current {
|
||||
.pholio-mock-carousel-thumb-current {
|
||||
background: #383838;
|
||||
border-color: #686868;
|
||||
}
|
||||
|
|
|
@ -213,7 +213,7 @@ JX.behavior('pholio-mock-view', function(config) {
|
|||
|
||||
var thumbs = JX.DOM.scry(
|
||||
JX.$('pholio-mock-carousel'),
|
||||
'div',
|
||||
'a',
|
||||
'mock-thumbnail');
|
||||
|
||||
for(var k in thumbs) {
|
||||
|
|
Loading…
Reference in a new issue