Skip to content

Commit

Permalink
Merge pull request jordanburke#4 from hcbelias/InvokeElementUsingJquery
Browse files Browse the repository at this point in the history
Fix for users in Mean stack where element is coming in as basic and not wrapped in JQuery/Jqlite.
  • Loading branch information
jordanburke committed Aug 24, 2015
2 parents 1c94508 + 1e960d2 commit 127c83d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions lib/angular-help-overlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ angular.module('angularHelpOverlay', []).directive('helpOverlay', ['$document',
if (noop === true) {
noop = false;
} else if (newValue === true) {
element.chardinJs('start');
$(element).chardinJs('start');
} else if (newValue === false) {
element.chardinJs('stop');
$(element).chardinJs('stop');
}
}
});
Expand Down
4 changes: 2 additions & 2 deletions lib/angular-help-overlay.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/angular-help-overlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ angular.module('angularHelpOverlay', []).directive('helpOverlay', ['$document',
if (noop === true) {
noop = false;
} else if (newValue === true) {
element.chardinJs('start');
$(element).chardinJs('start');
} else if (newValue === false) {
element.chardinJs('stop');
$(element).chardinJs('stop');
}
}
});
Expand Down

0 comments on commit 127c83d

Please sign in to comment.