From 3d8db1a6d31a6972a403484e83576bd8bcd46bb1 Mon Sep 17 00:00:00 2001 From: jiniC Date: Sun, 8 Aug 2021 13:59:09 +0900 Subject: [PATCH] Add end tag of div, a element --- jquery.mCustomScrollbar.js | 16 ++++++++-------- js/uncompressed/jquery.mCustomScrollbar.js | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/jquery.mCustomScrollbar.js b/jquery.mCustomScrollbar.js index 4c9a0b2..a24bdb2 100644 --- a/jquery.mCustomScrollbar.js +++ b/jquery.mCustomScrollbar.js @@ -862,16 +862,16 @@ and dependencies (minified). _pluginMarkup=function(){ var $this=$(this),d=$this.data(pluginPfx),o=d.opt, expandClass=o.autoExpandScrollbar ? " "+classes[1]+"_expand" : "", - scrollbar=["
","
"], + scrollbar=["
","
"], wrapperClass=o.axis==="yx" ? "mCSB_vertical_horizontal" : o.axis==="x" ? "mCSB_horizontal" : "mCSB_vertical", scrollbars=o.axis==="yx" ? scrollbar[0]+scrollbar[1] : o.axis==="x" ? scrollbar[1] : scrollbar[0], - contentWrapper=o.axis==="yx" ? "
" : "", + contentWrapper=o.axis==="yx" ? "
" : "", autoHideClass=o.autoHideScrollbar ? " "+classes[6] : "", scrollbarDirClass=(o.axis!=="x" && d.langDir==="rtl") ? " "+classes[7] : ""; if(o.setWidth){$this.css("width",o.setWidth);} /* set element width */ if(o.setHeight){$this.css("height",o.setHeight);} /* set element height */ o.setLeft=(o.axis!=="y" && d.langDir==="rtl") ? "989999px" : o.setLeft; /* adjust left position for rtl direction */ - $this.addClass(pluginNS+" _"+pluginPfx+"_"+d.idx+autoHideClass+scrollbarDirClass).wrapInner("
"); + $this.addClass(pluginNS+" _"+pluginPfx+"_"+d.idx+autoHideClass+scrollbarDirClass).wrapInner("
"); var mCustomScrollBox=$("#mCSB_"+d.idx), mCSB_container=$("#mCSB_"+d.idx+"_container"); if(o.axis!=="y" && !o.advanced.autoExpandHorizontalScroll){ @@ -921,7 +921,7 @@ and dependencies (minified). We must let the browser set the width as browser zoom values are impossible to calculate. */ mCSB_container.css({"overflow-x":"inherit","position":"absolute"}) - .wrap("
") + .wrap("
") .css({ /* set actual width, original position and un-wrap */ /* get the exact width (with decimals) and then round-up. @@ -943,10 +943,10 @@ and dependencies (minified). mCSB_scrollTools=$(".mCSB_"+d.idx+"_scrollbar:first"), tabindex=!_isNumeric(o.scrollButtons.tabindex) ? "" : "tabindex='"+o.scrollButtons.tabindex+"'", btnHTML=[ - "", - "", - "", - "" + "", + "", + "", + "" ], btn=[(o.axis==="x" ? btnHTML[2] : btnHTML[0]),(o.axis==="x" ? btnHTML[3] : btnHTML[1]),btnHTML[2],btnHTML[3]]; if(o.scrollButtons.enable){ diff --git a/js/uncompressed/jquery.mCustomScrollbar.js b/js/uncompressed/jquery.mCustomScrollbar.js index 4c9a0b2..a24bdb2 100644 --- a/js/uncompressed/jquery.mCustomScrollbar.js +++ b/js/uncompressed/jquery.mCustomScrollbar.js @@ -862,16 +862,16 @@ and dependencies (minified). _pluginMarkup=function(){ var $this=$(this),d=$this.data(pluginPfx),o=d.opt, expandClass=o.autoExpandScrollbar ? " "+classes[1]+"_expand" : "", - scrollbar=["
","
"], + scrollbar=["
","
"], wrapperClass=o.axis==="yx" ? "mCSB_vertical_horizontal" : o.axis==="x" ? "mCSB_horizontal" : "mCSB_vertical", scrollbars=o.axis==="yx" ? scrollbar[0]+scrollbar[1] : o.axis==="x" ? scrollbar[1] : scrollbar[0], - contentWrapper=o.axis==="yx" ? "
" : "", + contentWrapper=o.axis==="yx" ? "
" : "", autoHideClass=o.autoHideScrollbar ? " "+classes[6] : "", scrollbarDirClass=(o.axis!=="x" && d.langDir==="rtl") ? " "+classes[7] : ""; if(o.setWidth){$this.css("width",o.setWidth);} /* set element width */ if(o.setHeight){$this.css("height",o.setHeight);} /* set element height */ o.setLeft=(o.axis!=="y" && d.langDir==="rtl") ? "989999px" : o.setLeft; /* adjust left position for rtl direction */ - $this.addClass(pluginNS+" _"+pluginPfx+"_"+d.idx+autoHideClass+scrollbarDirClass).wrapInner("
"); + $this.addClass(pluginNS+" _"+pluginPfx+"_"+d.idx+autoHideClass+scrollbarDirClass).wrapInner("
"); var mCustomScrollBox=$("#mCSB_"+d.idx), mCSB_container=$("#mCSB_"+d.idx+"_container"); if(o.axis!=="y" && !o.advanced.autoExpandHorizontalScroll){ @@ -921,7 +921,7 @@ and dependencies (minified). We must let the browser set the width as browser zoom values are impossible to calculate. */ mCSB_container.css({"overflow-x":"inherit","position":"absolute"}) - .wrap("
") + .wrap("
") .css({ /* set actual width, original position and un-wrap */ /* get the exact width (with decimals) and then round-up. @@ -943,10 +943,10 @@ and dependencies (minified). mCSB_scrollTools=$(".mCSB_"+d.idx+"_scrollbar:first"), tabindex=!_isNumeric(o.scrollButtons.tabindex) ? "" : "tabindex='"+o.scrollButtons.tabindex+"'", btnHTML=[ - "", - "", - "", - "" + "", + "", + "", + "" ], btn=[(o.axis==="x" ? btnHTML[2] : btnHTML[0]),(o.axis==="x" ? btnHTML[3] : btnHTML[1]),btnHTML[2],btnHTML[3]]; if(o.scrollButtons.enable){