Skip to content
This repository has been archived by the owner on Jun 14, 2020. It is now read-only.

Commit

Permalink
Added new style.wrapper option that takes a string of classes that ar…
Browse files Browse the repository at this point in the history
…e applied to the wrapper element
  • Loading branch information
Craga89 committed Dec 30, 2010
1 parent 403142b commit b5166ed
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion dist/jquery.qtip.css
Expand Up @@ -9,7 +9,7 @@
* http://en.wikipedia.org/wiki/MIT_License
* http://en.wikipedia.org/wiki/GNU_General_Public_License
*
* Date: Thu Dec 30 02:56:40 2010 +0000
* Date: Thu Dec 30 03:02:17 2010 +0000
*/

.ui-tooltip-accessible{
Expand Down
5 changes: 3 additions & 2 deletions dist/jquery.qtip.js
Expand Up @@ -9,7 +9,7 @@
* http://en.wikipedia.org/wiki/MIT_License
* http://en.wikipedia.org/wiki/GNU_General_Public_License
*
* Date: Thu Dec 30 02:56:40 2010 +0000
* Date: Thu Dec 30 03:02:17 2010 +0000
*/

"use strict"; // Enable ECMAScript "strict" operation for this function. See more: http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/
Expand Down Expand Up @@ -628,7 +628,7 @@ function QTip(target, options, id)
.appendTo(options.position.container);

// Append to container element
elements.wrapper = $('<div />', { 'class': uitooltip + '-wrapper' }).appendTo(elements.tooltip);
elements.wrapper = $('<div />', { 'class': uitooltip + '-wrapper ' + options.style.wrapper }).appendTo(elements.tooltip);
elements.content = $('<div />', {
'class': uitooltip + '-content ' + (options.style.widget ? 'ui-widget-content' : ''),
'id': uitooltip + '-' + id + '-content'
Expand Down Expand Up @@ -1526,6 +1526,7 @@ $.fn.qtip.defaults = {
},
style: {
classes: '',
wrapper: '',
widget: FALSE
},
events: {
Expand Down
8 changes: 4 additions & 4 deletions dist/jquery.qtip.min.js

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

0 comments on commit b5166ed

Please sign in to comment.