1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-12 03:34:04 +02:00

[ticket/12155] Make the buttons bigger on touch devices.

PHPBB3-12155
This commit is contained in:
Cesar G
2014-05-16 15:27:06 -07:00
parent 84fd965272
commit 3106306a4d
4 changed files with 9 additions and 3 deletions

View File

@@ -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() {