Skip to content

Commit c57a86b

Browse files
committed
Bugfix
ClassName property fixed
1 parent 1c75f78 commit c57a86b

File tree

6 files changed

+15
-13
lines changed

6 files changed

+15
-13
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "uxrocket.modal",
3-
"version": "1.6.2",
3+
"version": "1.6.3",
44
"homepage": "https://github.com/uxrocket/uxrocket.modal",
55
"authors": [
66
"Bilal Çınarlı <bcinarli@gmail.com>"

dist/uxrocket.modal.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
instance = 1,
2323

2424
overlay = '<div id="uxr-modal-overlay"></div>',
25-
content = '<div id="{{id}}" class="{{container}} {{loading}}">' +
25+
content = '<div id="{{id}}" class="{{container}} {{loading}} {{className}}">' +
2626
' <div class="{{drag}} {{#if draggable}} {{hide}} {{/if}}"></div>'+
2727
' {{#if title}}' +
2828
' <h2 class="{{titleClass}}">{{title}}</h2>' +
@@ -230,7 +230,8 @@
230230
loadedContent: utils.getClassname('loadedContent'),
231231
close: utils.getClassname('close'),
232232
title: !!this.options.title ? this.options.title : false,
233-
draggable: this.options.draggable === 'true' ? false : true
233+
draggable: this.options.draggable === 'true' ? false : true,
234+
className: this.options.className
234235
},
235236
_content = utils.render(content, data),
236237
_appendTo = 'body';
@@ -629,7 +630,7 @@
629630
return openedInstances;
630631
};
631632

632-
ux.version = '1.6.2';
633+
ux.version = '1.6.3';
633634

634635
ux.settings = defaults;
635636
}));

dist/uxrocket.modal.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/uxrocket.modal.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/uxrocket.modal.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
instance = 1,
2323

2424
overlay = '<div id="uxr-modal-overlay"></div>',
25-
content = '<div id="{{id}}" class="{{container}} {{loading}}">' +
25+
content = '<div id="{{id}}" class="{{container}} {{loading}} {{className}}">' +
2626
' <div class="{{drag}} {{#if draggable}} {{hide}} {{/if}}"></div>'+
2727
' {{#if title}}' +
2828
' <h2 class="{{titleClass}}">{{title}}</h2>' +
@@ -230,7 +230,8 @@
230230
loadedContent: utils.getClassname('loadedContent'),
231231
close: utils.getClassname('close'),
232232
title: !!this.options.title ? this.options.title : false,
233-
draggable: this.options.draggable === 'true' ? false : true
233+
draggable: this.options.draggable === 'true' ? false : true,
234+
className: this.options.className
234235
},
235236
_content = utils.render(content, data),
236237
_appendTo = 'body';
@@ -629,7 +630,7 @@
629630
return openedInstances;
630631
};
631632

632-
ux.version = '1.6.2';
633+
ux.version = '1.6.3';
633634

634635
ux.settings = defaults;
635636
}));

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "uxrocket.modal",
3-
"version": "1.6.2",
3+
"version": "1.6.3",
44
"description": "Modal Plugin",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)