Skip to content

Commit

Permalink
tulip_arrow_ampm
Browse files Browse the repository at this point in the history
  • Loading branch information
neodigm committed Jul 2, 2023
1 parent 87694b6 commit 85fb41a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dist/neodigm55__v2_6.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,10 @@ const neodigmUtils = ( ( _d ) =>{
try { return JSON.parse( sAtr ) } catch(e) {
return JSON.parse( '{ "' + sPrp + '": "' + sAtr + '" }' )
}
},
inheritAMPM: function(){ // Update Opt w current first DOM AMPM
let sFirstAMPM = document.querySelector( "[data-n55-Ampm-theme]" )?.dataset.n55AmpmTheme
return ( sFirstAMPM ) ? ( neodigmOpt.N55_AMPM_THEME = sFirstAMPM ) : neodigmOpt.N55_AMPM_THEME
}
}
})( document );
Expand Down

0 comments on commit 85fb41a

Please sign in to comment.