Skip to content

Commit ba469d2

Browse files
committed
dist
1 parent d38148b commit ba469d2

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

dist/angular-ui-tour.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,6 @@
9696
angular.extend(position, viewportPosition);
9797
}
9898

99-
console.log(position);
100-
10199
viewWindow.top.css({
102100
position: isFixedElement ? 'fixed' : 'absolute',
103101
top: 0,
@@ -165,7 +163,7 @@
165163
scrollOffset: 100,
166164
scrollIntoView: true,
167165
useUiRouter: false,
168-
hotkeys: false,
166+
useHotkeys: false,
169167

170168
onStart: null,
171169
onEnd: null,
@@ -621,7 +619,7 @@
621619
setCurrentStep(step);
622620
tourStatus = statuses.ON;
623621
self.emit('started', step);
624-
if (options.hotkeys) {
622+
if (options.useHotkeys) {
625623
setHotKeys();
626624
}
627625
return self.showStep(getCurrentStep());
@@ -647,7 +645,7 @@
647645
self.emit('ended');
648646
tourStatus = statuses.OFF;
649647

650-
if (options.hotkeys) {
648+
if (options.useHotkeys) {
651649
unsetHotKeys();
652650
}
653651

@@ -824,7 +822,7 @@
824822
name: attrs.uiTour
825823
},
826824
events = 'onReady onStart onEnd onShow onShown onHide onHidden onNext onPrev onPause onResume'.split(' '),
827-
properties = 'placement animation popupDelay closePopupDelay enable appendToBody tooltipClass orphan backdrop scrollOffset scrollIntoView useUiRouter hotkeys'.split(' ');
825+
properties = 'placement animation popupDelay closePopupDelay enable appendToBody tooltipClass orphan backdrop scrollOffset scrollIntoView useUiRouter useHotkeys'.split(' ');
828826

829827
//Pass interpolated values through
830828
TourHelpers.attachInterpolatedValues(attrs, tour, properties, 'uiTour');

0 commit comments

Comments
 (0)