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

Commit

Permalink
Fixed metadata removal problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Craga89 committed May 26, 2011
1 parent f167542 commit 3252bd4
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 16 deletions.
5 changes: 1 addition & 4 deletions 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: Tue May 24 12:33:42 2011 +0100
* Date: Thu May 26 12:56:14 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 @@ -1433,9 +1433,6 @@ function init(id, opts)
typeof html5 === 'object' ? sanitizeOptions(html5) : NULL,
sanitizeOptions(metadata5 || metadata));

// Remove metadata object so we don't interfere with other metadata calls
if(metadata) { $.removeData(this, 'metadata'); }

// Re-grab our positioning options now we've merged our metadata and set id to passed value
posOptions = config.position;
config.id = id;
Expand Down
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: Tue May 24 12:33:42 2011 +0100
* Date: Thu May 26 12:56:14 2011 +0100
*/

/* Core qTip styles */
Expand Down
5 changes: 1 addition & 4 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: Tue May 24 12:33:42 2011 +0100
* Date: Thu May 26 12:56:14 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 @@ -1433,9 +1433,6 @@ function init(id, opts)
typeof html5 === 'object' ? sanitizeOptions(html5) : NULL,
sanitizeOptions(metadata5 || metadata));

// Remove metadata object so we don't interfere with other metadata calls
if(metadata) { $.removeData(this, 'metadata'); }

// Re-grab our positioning options now we've merged our metadata and set id to passed value
posOptions = config.position;
config.id = id;
Expand Down
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.

3 changes: 0 additions & 3 deletions src/core.js
Expand Up @@ -1393,9 +1393,6 @@ function init(id, opts)
typeof html5 === 'object' ? sanitizeOptions(html5) : NULL,
sanitizeOptions(metadata5 || metadata));

// Remove metadata object so we don't interfere with other metadata calls
if(metadata) { $.removeData(this, 'metadata'); }

// Re-grab our positioning options now we've merged our metadata and set id to passed value
posOptions = config.position;
config.id = id;
Expand Down

0 comments on commit 3252bd4

Please sign in to comment.