SPR-840: debug IE10 (vendor extensions for flex)

This commit is contained in:
Jana Deutschländer 2017-03-02 17:11:45 +01:00
commit d19c9b956a
4 changed files with 9 additions and 8 deletions

View file

@ -2,14 +2,14 @@
* Sets up the breadcrumb behaviour (adds do / ACT status information)
*/
jQuery(function () {
const $breadcrumb = jQuery('.breadcrumbs');
var $breadcrumb = jQuery('.breadcrumbs');
if (!$breadcrumb.length) return;
/**
* add ACT status to breadcrumb (if not show)
*
*/
const mode = $breadcrumb.attr('data-do');
var mode = $breadcrumb.attr('data-do');
if(mode && mode.indexOf('show') !== 0){
var markup = '<bdi lang="en"><span class="curid"> : <strong>' + mode + '</strong></span></bdi>';
$breadcrumb.find('p').append(markup);