Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit c8f1603

Browse files
authored
Merge pull request #48 from skateman/bump-v2.1.5
Bump version to v2.1.5
2 parents 5512653 + f5e4b92 commit c8f1603

File tree

6 files changed

+18
-3
lines changed

6 files changed

+18
-3
lines changed

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "patternfly-bootstrap-treeview",
33
"description": "Tree View for Twitter Bootstrap",
4-
"version": "2.1.4",
4+
"version": "2.1.5",
55
"homepage": "https://github.com/patternfly/patternfly-bootstrap-treeview",
66
"main": "dist/bootstrap-treeview.js",
77
"keywords": [

dist/bootstrap-treeview.js

+5
Original file line numberDiff line numberDiff line change
@@ -1146,6 +1146,11 @@
11461146
}
11471147
style += '.node-' + this._elementId + '[data-nodeId="' + node.nodeId + '"]{' + innerStyle + '}';
11481148
}
1149+
1150+
if (node.iconColor) {
1151+
var innerStyle = 'color:' + node.iconColor + ';';
1152+
style += '.node-' + this._elementId + '[data-nodeId="' + node.nodeId + '"] .node-icon{' + innerStyle + '}';
1153+
}
11491154
}, this));
11501155

11511156
return this._css + style;

dist/bootstrap-treeview.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "patternfly-bootstrap-treeview",
33
"description": "Tree View for Twitter Bootstrap",
4-
"version": "2.1.4",
4+
"version": "2.1.5",
55
"homepage": "https://github.com/patternfly/patternfly-bootstrap-treeview",
66
"author": {
77
"name": "Red Hat"

public/js/bootstrap-treeview.js

+5
Original file line numberDiff line numberDiff line change
@@ -1146,6 +1146,11 @@
11461146
}
11471147
style += '.node-' + this._elementId + '[data-nodeId="' + node.nodeId + '"]{' + innerStyle + '}';
11481148
}
1149+
1150+
if (node.iconColor) {
1151+
var innerStyle = 'color:' + node.iconColor + ';';
1152+
style += '.node-' + this._elementId + '[data-nodeId="' + node.nodeId + '"] .node-icon{' + innerStyle + '}';
1153+
}
11491154
}, this));
11501155

11511156
return this._css + style;

tests/lib/bootstrap-treeview.js

+5
Original file line numberDiff line numberDiff line change
@@ -1146,6 +1146,11 @@
11461146
}
11471147
style += '.node-' + this._elementId + '[data-nodeId="' + node.nodeId + '"]{' + innerStyle + '}';
11481148
}
1149+
1150+
if (node.iconColor) {
1151+
var innerStyle = 'color:' + node.iconColor + ';';
1152+
style += '.node-' + this._elementId + '[data-nodeId="' + node.nodeId + '"] .node-icon{' + innerStyle + '}';
1153+
}
11491154
}, this));
11501155

11511156
return this._css + style;

0 commit comments

Comments
 (0)