1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-28 12:30:42 +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

@@ -15,7 +15,7 @@ var dark = $('#darkenwrapper');
var loadingIndicator = $('#loading_indicator');
var phpbbAlertTimer = null;
var isTouch = (window && typeof window.ontouchstart !== 'undefined');
phpbb.isTouch = (window && typeof window.ontouchstart !== 'undefined');
/**
* Display a loading screen
@@ -1011,7 +1011,7 @@ phpbb.resizeTextArea = function(items, options) {
resetCallback: function(item) { }
};
if (isTouch) return;
if (phpbb.isTouch) return;
if (arguments.length > 1) {
configuration = $.extend(configuration, options);