mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-28 12:30:00 +00:00
add tooltip and move UL higher in DOM
This commit is contained in:
parent
aa27e0e476
commit
4988e3b631
@ -188,6 +188,7 @@ return $(this).text().replace(/^\s+|^\t+|\t+|\s+$/g, "");
|
|||||||
|
|
||||||
// Move dropdown lists higher in dom, replace bootstrap toggle with own toggle.
|
// Move dropdown lists higher in dom, replace bootstrap toggle with own toggle.
|
||||||
$( 'ul[aria-labelledby="read-in-browser"]' ).insertBefore( '.blur-wrapper' ).addClass('readinbrowser-drop');
|
$( 'ul[aria-labelledby="read-in-browser"]' ).insertBefore( '.blur-wrapper' ).addClass('readinbrowser-drop');
|
||||||
|
$( 'ul[aria-labelledby="send-to-kindle"]' ).insertBefore( '.blur-wrapper' ).addClass('sendtokindle-drop');
|
||||||
$( '.leramslist' ).insertBefore( '.blur-wrapper' );
|
$( '.leramslist' ).insertBefore( '.blur-wrapper' );
|
||||||
$( 'ul[aria-labelledby="btnGroupDrop1"]' ).insertBefore( '.blur-wrapper' ).addClass('leramslist');
|
$( 'ul[aria-labelledby="btnGroupDrop1"]' ).insertBefore( '.blur-wrapper' ).addClass('leramslist');
|
||||||
$( '#add-to-shelves' ).insertBefore( '.blur-wrapper' );
|
$( '#add-to-shelves' ).insertBefore( '.blur-wrapper' );
|
||||||
@ -564,6 +565,13 @@ $( '#sendbtn' ).attr({
|
|||||||
'data-viewport': '.btn-toolbar' })
|
'data-viewport': '.btn-toolbar' })
|
||||||
.addClass('send-btn-tooltip');
|
.addClass('send-btn-tooltip');
|
||||||
|
|
||||||
|
$( '#sendbtn2' ).attr({
|
||||||
|
'data-toggle': 'tooltip',
|
||||||
|
'title': 'Send to Kindle',
|
||||||
|
'data-placement': 'bottom',
|
||||||
|
'data-viewport': '.btn-toolbar' })
|
||||||
|
.addClass('send-btn-tooltip');
|
||||||
|
|
||||||
$( '#read-in-browser' ).attr({
|
$( '#read-in-browser' ).attr({
|
||||||
'data-toggle-two': 'tooltip',
|
'data-toggle-two': 'tooltip',
|
||||||
'title': 'Read',
|
'title': 'Read',
|
||||||
|
Loading…
Reference in New Issue
Block a user