SPR-840: debug IE10 (vendor extensions for flex)
This commit is contained in:
parent
b10c27f3f2
commit
d19c9b956a
4 changed files with 9 additions and 8 deletions
|
@ -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);
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -117,7 +117,7 @@ jQuery(function () {
|
|||
initContentMinHeight = function () {
|
||||
var $sidebar = jQuery('.page-wrapper').find('> .tools').find('.col-xs-12');
|
||||
if ($sidebar.length == 1) {
|
||||
const num = parseFloat($sidebar.height());
|
||||
var num = parseFloat($sidebar.height());
|
||||
if (!isNaN(num)) {
|
||||
jQuery('#dokuwiki__content').css('minHeight', num + 100);
|
||||
}
|
||||
|
@ -128,7 +128,7 @@ jQuery(function () {
|
|||
* Initialize the sidebar handle behaviour
|
||||
*/
|
||||
initSidebarToggling = function () {
|
||||
const $toggler = jQuery('.togglelink.page_main-content').find('a');
|
||||
var $toggler = jQuery('.togglelink.page_main-content').find('a');
|
||||
$toggler.click(function (e) {
|
||||
e.preventDefault();
|
||||
if (jQuery('body').hasClass('wide-content')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue