Skip to content

Commit

Permalink
fixed collapse class remove after init
Browse files Browse the repository at this point in the history
  • Loading branch information
simialbi committed May 29, 2018
1 parent 1c797cc commit 6714304
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jquery-yohours",
"description": "Jquery and bootstrap based input widget to create opening_hours data",
"version": "1.0.5",
"version": "1.0.6",
"authors": [
{
"name": "Simon Karlen",
Expand Down
4 changes: 2 additions & 2 deletions dist/js/yohours.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jquery-yohours",
"description": "Jquery and bootstrap based input widget to create opening_hours data",
"version": "1.0.5",
"version": "1.0.6",
"author": {
"name": "Simon Karlen",
"email": "simi.albi@gmail.com",
Expand Down
4 changes: 2 additions & 2 deletions src/js/yohours.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* globals jQuery,window,moment,jSmart:false */
var YoHours = YoHours || {};
(function (window, $, moment, YoHours, jSmart, Jed, jedGettextParser) {
(function (window, $, moment, YoHours, jSmart, Jed) {
'use strict';

let i18n;
Expand Down Expand Up @@ -3155,7 +3155,7 @@ var YoHours = YoHours || {};
}

this._calendarView.init();
$('#' + opts.idPrefix + 'yo-hours-collapse').removeClass(['show', 'in']);
$('#' + opts.idPrefix + 'yo-hours-collapse').removeClass('show in');
};
/**
* Refreshes the view
Expand Down

0 comments on commit 6714304

Please sign in to comment.