prevent linked slide numbers from changing color
This commit is contained in:
parent
f713d9d67d
commit
531d1e8791
|
@ -460,6 +460,9 @@ body {
|
|||
background-color: rgba(0, 0, 0, 0.4);
|
||||
padding: 5px; }
|
||||
|
||||
.reveal .slide-number a {
|
||||
color: currentColor; }
|
||||
|
||||
.reveal .slide-number-delimiter {
|
||||
margin: 0 3px; }
|
||||
|
||||
|
|
|
@ -553,6 +553,10 @@ $controlsArrowAngleActive: 36deg;
|
|||
padding: 5px;
|
||||
}
|
||||
|
||||
.reveal .slide-number a {
|
||||
color: currentColor;
|
||||
}
|
||||
|
||||
.reveal .slide-number-delimiter {
|
||||
margin: 0 3px;
|
||||
}
|
||||
|
|
|
@ -2259,7 +2259,6 @@
|
|||
/**
|
||||
* Return a hash URL that will resolve to the current slide location.
|
||||
*/
|
||||
|
||||
function locationHash() {
|
||||
|
||||
var url = '/';
|
||||
|
@ -2288,6 +2287,7 @@
|
|||
}
|
||||
|
||||
return url;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -3009,6 +3009,7 @@
|
|||
* @return {string} HTML string fragment
|
||||
*/
|
||||
function formatSlideNumber( a, delimiter, b ) {
|
||||
|
||||
var url = '#' + locationHash();
|
||||
if( typeof b === 'number' && !isNaN( b ) ) {
|
||||
return '<a href="' + url + '">' +
|
||||
|
@ -3839,10 +3840,10 @@
|
|||
}
|
||||
else {
|
||||
// Read the index components of the hash
|
||||
|
||||
var h = parseInt( bits[0], 10 ) || 0 - config.hashOneBasedIndex,
|
||||
v = parseInt( bits[1], 10 ) || 0 - config.hashOneBasedIndex,
|
||||
f;
|
||||
|
||||
if( config.fragmentInURL ) {
|
||||
f = parseInt( bits[2], 10 );
|
||||
if( isNaN( f ) ) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user