mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-23 08:43:02 +02:00
[ticket/12155] Make the buttons bigger on touch devices.
PHPBB3-12155
This commit is contained in:
@@ -919,6 +919,8 @@ function parse_document(container)
|
||||
$(document).ready(function() {
|
||||
// Swap .nojs and .hasjs
|
||||
$('#phpbb.nojs').toggleClass('nojs hasjs');
|
||||
$('#phpbb').toggleClass('hastouch', phpbb.isTouch);
|
||||
$('#phpbb.hastouch').removeClass('notouch');
|
||||
|
||||
// Focus forms
|
||||
$('form[data-focus]:first').each(function() {
|
||||
|
@@ -52,7 +52,7 @@
|
||||
{$STYLESHEETS}
|
||||
|
||||
</head>
|
||||
<body id="phpbb" class="nojs section-{SCRIPT_NAME} {S_CONTENT_DIRECTION} {BODY_CLASS}">
|
||||
<body id="phpbb" class="nojs notouch section-{SCRIPT_NAME} {S_CONTENT_DIRECTION} {BODY_CLASS}">
|
||||
|
||||
<!-- EVENT overall_header_body_before -->
|
||||
|
||||
|
Reference in New Issue
Block a user