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

@ -1,5 +1,5 @@
jQuery(function () {
const $metaBox = jQuery('#spr__meta-box');
var $metaBox = jQuery('#spr__meta-box');
if (!$metaBox.length) return;
/**
@ -10,8 +10,8 @@ jQuery(function () {
*/
$metaBox.on('click', '.meta-tabs a', function (e) {
e.preventDefault();
const $tab = jQuery(this);
const isopen = $tab.attr('aria-expanded') === 'true';
var $tab = jQuery(this),
isopen = $tab.attr('aria-expanded') === 'true';
// disable all existing tabs
$metaBox.find('.meta-tabs li')