Skip to content

Commit 22f3b00

Browse files
authored
Merge pull request #3 from 7tonin/revert-1-7tonin-patch-1
Revert "jcarousel items are wider"
2 parents bf96fc0 + 39aef85 commit 22f3b00

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

template/osm-map2.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ function toggle(arrow)
475475
476476
/* Update jcarousel and all witdh*/
477477
if (nb_items>0) {
478-
var nb_items_width = nb_items*55; /* img is 40px + margin 5px + ?? 10px */
478+
var nb_items_width = nb_items*45; /* img is 40px + margin 5px */
479479
var document_width = $( document ).width();
480480
var nav_width = document.getElementById('ribbon-map-nav').offsetWidth;
481481
var results_width = document.getElementById('ribbon-map-results').offsetWidth;

0 commit comments

Comments
 (0)