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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user