Skip to content

Commit

Permalink
Fixed a couple of bugs, one having to with _attach called without a g…
Browse files Browse the repository at this point in the history
…uider defined, the other having to do with the top offset.
  • Loading branch information
Jeff Pickhardt committed Jun 26, 2012
1 parent 4d947fb commit e2f5ffd
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.html
Expand Up @@ -27,8 +27,8 @@

<!-- guiders.js requires jQuery as a prerequisite. Be sure to load guiders.js AFTER jQuery. -->
<script type="text/javascript" src="jquery-1.5.1.min.js"></script>
<script type="text/javascript" src="guiders-1.2.6.js"></script>
<link rel="stylesheet" href="guiders-1.2.6.css" type="text/css" />
<script type="text/javascript" src="guiders-1.2.7.js"></script>
<link rel="stylesheet" href="guiders-1.2.7.css" type="text/css" />
</head>
<body>
<br />
Expand Down
2 changes: 1 addition & 1 deletion README.md
@@ -1,4 +1,4 @@
Guiders.js (version 1.2.6)
Guiders.js (version 1.2.7)
==========================

Guiders are a user experience design pattern for introducing users to a web application.
Expand Down
File renamed without changes.
8 changes: 5 additions & 3 deletions guiders-1.2.6.js → guiders-1.2.7.js
@@ -1,7 +1,7 @@
/**
* guiders.js
*
* version 1.2.6
* version 1.2.7
*
* Developed at Optimizely. (www.optimizely.com)
* We make A/B testing you'll actually use.
Expand All @@ -21,7 +21,7 @@
var guiders = (function($) {
var guiders = {};

guiders.version = "1.2.6";
guiders.version = "1.2.7";

guiders._defaultSettings = {
attachTo: null, // Selector of the element to attach to.
Expand Down Expand Up @@ -482,7 +482,9 @@ var guiders = (function($) {
}
_resizing = setTimeout(function() {
_resizing = undefined;
guiders.reposition();
if (typeof (guiders) !== "undefined") {
guiders.reposition();
}
}, 20);
});

Expand Down

0 comments on commit e2f5ffd

Please sign in to comment.