Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Make sure that send dialog shows decimal point, not comma #160

Merged
merged 2 commits into from
Apr 28, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions src/app/components/send/send.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,3 @@ app.component('send', {
}
},
});

app.directive('ignoreMouseWheel', () => ({
restrict: 'A',
link: (scope, element) => {
element.bind('mousewheel', () => element.blur());
},
}));
2 changes: 1 addition & 1 deletion src/app/components/send/send.pug
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ md-card.offline-hide
div(ng-message='pattern') Invalid
md-input-container.md-block
label Transaction Amount
input(type='number', name='amount', ng-model='$ctrl.amount.value', required, ng-pattern='$ctrl.amount.regexp', ng-disabled='$ctrl.loading', ng-max='$ctrl.amount.max', ignore-mouse-wheel)
input(type='text', name='amount', ng-model='$ctrl.amount.value', required, ng-pattern='$ctrl.amount.regexp', ng-disabled='$ctrl.loading', ng-max='$ctrl.amount.max')
div.fee(ng-show='$ctrl.amount.value') Fee: 0.1 LSK
div(ng-messages='$ctrl.sendForm.amount.$error')
div(ng-message='required') Required
Expand Down