Skip to content

Commit

Permalink
fix(module:pagination): prevent selection after double click (#268)
Browse files Browse the repository at this point in the history
close #267
  • Loading branch information
hsuanxyz authored and wilsoncook committed Sep 12, 2017
1 parent ec66e13 commit 46ae81a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/pagination/nz-pagination.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ import {
</div>
</ul>`,
styleUrls : [
'./style/index.less'
'./style/index.less',
'./style/patch.less'
]
})
export class NzPaginationComponent {
Expand Down
5 changes: 5 additions & 0 deletions src/components/pagination/style/patch.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@import "./index.less";

.@{pagination-prefix-cls} {
user-select: none;
}

0 comments on commit 46ae81a

Please sign in to comment.