updated core from 8.4 to 8.5 : bug with login_destination
This commit is contained in:
@@ -146,6 +146,7 @@
|
||||
const $tour = this._getTour();
|
||||
this._removeIrrelevantTourItems($tour, this._getDocument());
|
||||
const that = this;
|
||||
const close = Drupal.t('Close');
|
||||
if ($tour.find('li').length) {
|
||||
$tour.joyride({
|
||||
autoStart: true,
|
||||
@@ -154,8 +155,8 @@
|
||||
},
|
||||
// HTML segments for tip layout.
|
||||
template: {
|
||||
link: '<a href=\"#close\" class=\"joyride-close-tip\">×</a>',
|
||||
button: '<a href=\"#\" class=\"button button--primary joyride-next-tip\"></a>',
|
||||
link: `<a href="#close" class="joyride-close-tip" aria-label="${close}">×</a>`,
|
||||
button: '<a href="#" class="button button--primary joyride-next-tip"></a>',
|
||||
},
|
||||
});
|
||||
this.model.set({ isActive: true, activeTour: $tour });
|
||||
|
||||
@@ -63,6 +63,7 @@
|
||||
var $tour = this._getTour();
|
||||
this._removeIrrelevantTourItems($tour, this._getDocument());
|
||||
var that = this;
|
||||
var close = Drupal.t('Close');
|
||||
if ($tour.find('li').length) {
|
||||
$tour.joyride({
|
||||
autoStart: true,
|
||||
@@ -71,8 +72,8 @@
|
||||
},
|
||||
|
||||
template: {
|
||||
link: '<a href=\"#close\" class=\"joyride-close-tip\">×</a>',
|
||||
button: '<a href=\"#\" class=\"button button--primary joyride-next-tip\"></a>'
|
||||
link: '<a href="#close" class="joyride-close-tip" aria-label="' + close + '">×</a>',
|
||||
button: '<a href="#" class="button button--primary joyride-next-tip"></a>'
|
||||
}
|
||||
});
|
||||
this.model.set({ isActive: true, activeTour: $tour });
|
||||
|
||||
Reference in New Issue
Block a user