Skip to content

Commit 8e74b5b

Browse files
committed
Release 1.1.1
1 parent 92501f5 commit 8e74b5b

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

jquery.cluetip.js

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
2-
* jQuery clueTip plugin v1.1
2+
* jQuery clueTip plugin v1.1.1
33
*
4-
* Date: 2011-01-15
4+
* Date: Fri Mar 25 10:06:31 2011 EDT
55
* Requires: jQuery v1.3+
66
*
77
* Copyright 2010, Karl Swedberg
@@ -18,7 +18,7 @@
1818

1919

2020
$.cluetip = {
21-
version: '1.1',
21+
version: '1.1.1',
2222

2323
/* clueTip setup
2424
* the setup options are applied each time .cluetip() is called,
@@ -171,19 +171,20 @@
171171

172172

173173
this.each(function(index) {
174-
var link = this, $link = $(this);
175-
176-
// support metadata plugin (v1.0 and 2.0)
177-
var opts = $.extend(true, {}, options, $.metadata ? $link.metadata() : $.meta ? $link.data() : {});
178-
179-
180-
// start out with no contents (for ajax activation)
181-
var cluetipContents = false;
174+
var link = this,
175+
$link = $(this),
176+
// support metadata plugin (v1.0 and 2.0)
177+
opts = $.extend(true, {}, options, $.metadata ? $link.metadata() : $.meta ? $link.data() : {}),
178+
// start out with no contents (for ajax activation)
179+
cluetipContents = false,
180+
isActive = false,
181+
closeOnDelay = 0,
182+
tipAttribute = $link.attr(opts.attribute),
183+
ctClass = opts.cluetipClass;
182184

183185
cluezIndex = +opts.cluezIndex;
184-
var isActive = false, closeOnDelay = 0;
186+
$link.data('cluetip', {title: link.title, zIndex: cluezIndex});
185187

186-
var tipAttribute = $link.attr(opts.attribute), ctClass = opts.cluetipClass;
187188
if (!tipAttribute && !opts.splitTitle && !js) {
188189
return true;
189190
}

0 commit comments

Comments
 (0)