Skip to content

Commit

Permalink
Release version 2.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Tsai committed Nov 2, 2017
1 parent 4ed9d91 commit 5a32efb
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2015 Patrick Tsai et al.
Copyright (c) 2015 Patrick Tsai

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion dist/jquery.tree-multiselect.css
@@ -1,4 +1,4 @@
/* jQuery Tree Multiselect v2.4.3 | (c) Patrick Tsai | MIT Licensed */
/* jQuery Tree Multiselect v2.5.0 | (c) Patrick Tsai | MIT Licensed */
div.tree-multiselect {
border: 2px solid #D8D8D8;
border-radius: 5px;
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.tree-multiselect.js
@@ -1,4 +1,4 @@
/* jQuery Tree Multiselect v2.4.3 | (c) Patrick Tsai | MIT Licensed */
/* jQuery Tree Multiselect v2.5.0 | (c) Patrick Tsai | MIT Licensed */
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
'use strict';

Expand Down Expand Up @@ -429,7 +429,7 @@ Tree.prototype.createAst = function (options) {
selected: option.hasAttribute('selected')
});

if (item.initialIndex) {
if (item.initialIndex && item.selected) {
initialIndexItems[item.initialIndex] = initialIndexItems[item.initialIndex] || [];
initialIndexItems[item.initialIndex].push(itemId);
} else if (item.selected) {
Expand Down
2 changes: 1 addition & 1 deletion dist/jquery.tree-multiselect.min.css

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

4 changes: 2 additions & 2 deletions dist/jquery.tree-multiselect.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "tree-multiselect",
"version": "2.4.3",
"version": "2.5.0",
"description": "jQuery multiple select with nested options",
"browser": "dist/jquery.tree-multiselect.min.js",
"keywords": [
Expand Down

0 comments on commit 5a32efb

Please sign in to comment.