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

Commit

Permalink
Removed redundant modal code CSS setting. Use stylesheet instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Craga89 committed Jun 3, 2011
1 parent d76d399 commit c086d8f
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 20 deletions.
2 changes: 1 addition & 1 deletion dist/jquery.qtip.basic.js
Expand Up @@ -9,7 +9,7 @@
* http://en.wikipedia.org/wiki/MIT_License
* http://en.wikipedia.org/wiki/GNU_General_Public_License
*
* Date: Fri Jun 3 02:11:03 2011 +0100
* Date: Fri Jun 3 02:18:52 2011 +0100
*/

/*jslint browser: true, onevar: true, undef: true, nomen: true, bitwise: true, regexp: true, newcap: true, immed: true, strict: true */
Expand Down
3 changes: 2 additions & 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: Fri Jun 3 02:11:03 2011 +0100
* Date: Fri Jun 3 02:18:52 2011 +0100
*/

/* Core qTip styles */
Expand Down Expand Up @@ -168,6 +168,7 @@
position: absolute;
left: -10000em;
top: -10000em;
display: none;

background-color: black;

Expand Down
8 changes: 1 addition & 7 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: Fri Jun 3 02:11:03 2011 +0100
* Date: Fri Jun 3 02:18:52 2011 +0100
*/

/*jslint browser: true, onevar: true, undef: true, nomen: true, bitwise: true, regexp: true, newcap: true, immed: true, strict: true */
Expand Down Expand Up @@ -2803,12 +2803,6 @@ function Modal(api)
// Create document overlay
overlay = elems.overlay = $('<div />', {
id: overlaySelector.substr(1),
css: {
position: 'absolute',
top: 0,
left: 0,
display: 'none'
},
mousedown: function() { return FALSE; }
})
.appendTo(document.body);
Expand Down
2 changes: 1 addition & 1 deletion dist/jquery.qtip.min.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/jquery.qtip.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/jquery.qtip.pack.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/modal.css
Expand Up @@ -4,6 +4,7 @@
position: absolute;
left: -10000em;
top: -10000em;
display: none;

background-color: black;

Expand Down
6 changes: 0 additions & 6 deletions src/modal.js
Expand Up @@ -90,12 +90,6 @@ function Modal(api)
// Create document overlay
overlay = elems.overlay = $('<div />', {
id: overlaySelector.substr(1),
css: {
position: 'absolute',
top: 0,
left: 0,
display: 'none'
},
mousedown: function() { return FALSE; }
})
.appendTo(document.body);
Expand Down

0 comments on commit c086d8f

Please sign in to comment.