スマホ向けページャーでページジャンプを可能にした
This commit is contained in:
7
public/css/tissue.css
vendored
7
public/css/tissue.css
vendored
@@ -53,6 +53,13 @@
|
||||
border-bottom: 1px solid rgba(0, 0, 0, .125);
|
||||
}
|
||||
|
||||
.tis-page-selector {
|
||||
margin-left: -1px;
|
||||
width: calc(100% + 2px);
|
||||
border: 1px solid #dee2e6;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
.tis-sidebar-info {
|
||||
font-size: small;
|
||||
|
6
public/js/tissue.js
vendored
6
public/js/tissue.js
vendored
@@ -46,4 +46,10 @@
|
||||
});
|
||||
};
|
||||
|
||||
$.fn.pageSelector = function () {
|
||||
return this.on('change', function () {
|
||||
location.href = $(this).find(':selected').data('href');
|
||||
});
|
||||
};
|
||||
|
||||
})(jQuery);
|
Reference in New Issue
Block a user