File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
src/BootstrapBlazor.Server/Components/Samples/Icons Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ namespace BootstrapBlazor.Server.Components.Samples.Icons;
99/// Icon component base class
1010/// </summary>
1111[ JSModuleAutoLoader ( "Samples/Icons/BootstrapIconBase.razor.js" ) ]
12- public partial class BootstrapIcon
12+ public partial class BootstrapIconBase
1313{
1414
1515}
Original file line number Diff line number Diff line change 11import Data from '../../../_content/BootstrapBlazor/modules/data.js' ;
22import EventHandler from '../../../_content/BootstrapBlazor/modules/event-handler.js' ;
33import { copy } from '../../../_content/BootstrapBlazor/modules/utility.js' ;
4+
45export function init ( id ) {
56 const el = document . getElementById ( id ) ;
67 const tooltips = [ ] ;
@@ -23,7 +24,9 @@ export function init(id) {
2324 tooltip . setContent ( { '.tooltip-inner' : 'Copy' } ) ;
2425 const handler = setTimeout ( ( ) => {
2526 clearTimeout ( handler ) ;
26- tooltip . setContent ( { '.tooltip-inner' : div . getAttribute ( 'data-bs-original-title' ) } ) ;
27+ tooltip . setContent ( {
28+ '.tooltip-inner' : div . getAttribute ( 'data-bs-original-title' )
29+ } ) ;
2730 } , 1000 ) ;
2831 } ) ;
2932 Data . set ( id , {
You can’t perform that action at this time.
0 commit comments