contact_slider.tpl didn't get updated with one of the bootstrap changes where 'in' was renamed to 'show'

This commit is contained in:
zotlabs 2017-08-13 19:44:26 -07:00 committed by Mario Vavti
parent 6a3919587f
commit 289161aad1

View File

@ -4,10 +4,10 @@ $(document).ready(function() {
// The slider does not render correct if width is given in % and
// the slider container is hidden (display: none) during rendering.
// So let's unhide it to render and hide again afterwards.
if(!$("#affinity-tool-collapse").hasClass("in")) {
$("#affinity-tool-collapse").addClass("in");
if(!$("#affinity-tool-collapse").hasClass("show")) {
$("#affinity-tool-collapse").addClass("show");
makeContactSlider();
$("#affinity-tool-collapse").removeClass("in");
$("#affinity-tool-collapse").removeClass("show");
}
else {
makeContactSlider();