mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-25 20:44:53 -04:00
Semantic changes.
This commit is contained in:
parent
9163996ac2
commit
1dea89befb
24 changed files with 243 additions and 237 deletions
|
@ -20,7 +20,7 @@ modulejs.define('view/viewmode', ['_', '$', 'core/settings', 'core/resource', 'c
|
|||
|
||||
var contentWidth = $('#content').width(),
|
||||
$extended = $('#extended'),
|
||||
itemWidth = ($extended.hasClass('view-icons') || $extended.hasClass('view-grid')) ? ($extended.find('.entry').eq(0).width() || 1) : 1;
|
||||
itemWidth = ($extended.hasClass('view-icons') || $extended.hasClass('view-grid')) ? ($extended.find('.item').eq(0).width() || 1) : 1;
|
||||
|
||||
$extended.width(Math.floor(contentWidth / itemWidth) * itemWidth);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue