|
Lines 1583-1588
Link Here
|
| 1583 |
[% END %] |
1583 |
[% END %] |
| 1584 |
|
1584 |
|
| 1585 |
[% IF ( OPACShelfBrowser ) %] |
1585 |
[% IF ( OPACShelfBrowser ) %] |
|
|
1586 |
// Focus on shelf browser if present |
| 1587 |
var shelfbrowser = $("#shelfbrowser"); |
| 1588 |
if (shelfbrowser.length > 0) { |
| 1589 |
$('html,body').animate({ |
| 1590 |
scrollTop: shelfbrowser.first().offset().top |
| 1591 |
}, |
| 1592 |
'slow'); |
| 1593 |
shelfbrowser.first().find(':focusable').eq(0).focus(); |
| 1594 |
} |
| 1586 |
|
1595 |
|
| 1587 |
(function prepareShelfBrowser(){ |
1596 |
(function prepareShelfBrowser(){ |
| 1588 |
|
1597 |
|
| 1589 |
- |
|
|