Fix tutorial

This commit is contained in:
Joseph Schorr 2015-05-13 14:55:39 -04:00
parent 30608366d7
commit 28bd9af4ff
8 changed files with 76 additions and 34 deletions

View file

@ -250,6 +250,13 @@ angular.module("angular-tour", [])
};
};
// Signal: When an element is visible in the page's DOM.
signals.elementVisible = function(elementPath) {
return function(tourScope) {
return $(tourScope._replaceData(elementPath)).height() > 0;
};
};
// Signal: When an element is found in the page's DOM.
signals.elementAvaliable = function(elementPath) {
return function(tourScope) {