fix timeslider title issues
This commit is contained in:
parent
fef746e80e
commit
f6b4b5603d
|
@ -157,6 +157,12 @@ function handleClientVars(message)
|
|||
fireWhenAllScriptsAreLoaded[i]();
|
||||
}
|
||||
$("#ui-slider-handle").css('left', $("#ui-slider-bar").width() - 2);
|
||||
|
||||
// Translate some strings where we only want to set the title not the actual values
|
||||
$('#playpause_button_icon').attr("title", html10n.get("timeslider.playPause"));
|
||||
$('#leftstep').attr("title", html10n.get("timeslider.backRevision"));
|
||||
$('#rightstep').attr("title", html10n.get("timeslider.forwardRevision"));
|
||||
|
||||
}
|
||||
|
||||
exports.baseURL = '';
|
||||
|
|
|
@ -61,11 +61,11 @@
|
|||
<div id="ui-slider-bar"></div>
|
||||
</div>
|
||||
<div id="playpause_button">
|
||||
<button id="playpause_button_icon" class="" data-l10n-id="timeslider.playPause"></button>
|
||||
<button id="playpause_button_icon" class=""></button>
|
||||
</div>
|
||||
<div id="steppers">
|
||||
<button class="stepper" id="leftstep" data-l10n-id="timeslider.backRevision"></button>
|
||||
<button class="stepper" id="rightstep" data-l10n-id="timeslider.forwardRevision"></button>
|
||||
<button class="stepper" id="leftstep"></button>
|
||||
<button class="stepper" id="rightstep"></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue