Skip to content

Commit

Permalink
Fix joyride not imitating on click and errors related to feedback.js
Browse files Browse the repository at this point in the history
- Add `autoStart: true` to initiate joyride v2.2.0
- Change feedback.js to export default
  • Loading branch information
ZachTRice committed Dec 8, 2017
1 parent c30d674 commit be56132
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 2 additions & 3 deletions web/js/feedback.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@

import util from './util/util';

export const feedbackModal = (function () {
var self = {};
export default (function (self) {
var feedbackInit = false;

self.decorate = function ($element) {
Expand All @@ -30,4 +29,4 @@ export const feedbackModal = (function () {
};

return self;
})();
})({});
2 changes: 2 additions & 0 deletions web/js/tour.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ export default function (models, ui, config) {
.dialog('close');
$('#joyRideTipContent')
.joyride({
autoStart: true,
adjustForPhone: false,
bordered: true,
includepage: true,
Expand Down Expand Up @@ -187,6 +188,7 @@ export default function (models, ui, config) {
googleAnalytics.event('Tour', 'Click', 'Take Tour');
$('#joyRideTipContent')
.joyride({
autoStart: true,
adjustForPhone: false,
bordered: true,
includepage: true,
Expand Down

0 comments on commit be56132

Please sign in to comment.