|
@@ -116,6 +116,7 @@
|
|
.on('search-results-loaded', function(e){
|
|
.on('search-results-loaded', function(e){
|
|
initAjaxLinks();
|
|
initAjaxLinks();
|
|
initAudioLinksHover();
|
|
initAudioLinksHover();
|
|
|
|
+ checkVisibleCorpusMapSpace();
|
|
})
|
|
})
|
|
// do not close index or notice modale on entree click
|
|
// do not close index or notice modale on entree click
|
|
.on('open_entree', function(e){
|
|
.on('open_entree', function(e){
|
|
@@ -794,12 +795,13 @@
|
|
_$row.find('.col').each(function(i,e){
|
|
_$row.find('.col').each(function(i,e){
|
|
var $col = $(this);
|
|
var $col = $(this);
|
|
var offset = $col.offset();
|
|
var offset = $col.offset();
|
|
|
|
+ console.log('$col', $col);
|
|
switch(true){
|
|
switch(true){
|
|
case $col.is('.float-right'):
|
|
case $col.is('.float-right'):
|
|
- right_limit = Math.max(right_limit, Math.abs(offset.left-window.innerWidth));
|
|
|
|
|
|
+ right_limit = Math.max(right_limit, Math.abs(offset.left-15-window.innerWidth));
|
|
break;
|
|
break;
|
|
default:
|
|
default:
|
|
- left_limit = Math.max(left_limit, offset.left+$col.width());
|
|
|
|
|
|
+ left_limit = Math.max(left_limit, offset.left+$col.width()+15);
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
});
|
|
});
|