mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 15:21:24 +08:00
Remove Discourse.Mobile
constants
This commit is contained in:
@ -3,7 +3,6 @@
|
||||
|
||||
@module $.fn.autocomplete
|
||||
**/
|
||||
|
||||
export var CANCELLED_STATUS = "__CANCELLED";
|
||||
|
||||
const allowedLettersRegex = /[\s\t\[\{\(\/]/;
|
||||
@ -226,7 +225,7 @@ export default function(options) {
|
||||
vOffset = div.height();
|
||||
}
|
||||
|
||||
if (Discourse.Mobile.mobileView && !isInput) {
|
||||
if (Discourse.Site.currentProp('mobileView') && !isInput) {
|
||||
div.css('width', 'auto');
|
||||
|
||||
if ((me.height() / 2) >= pos.top) { vOffset = -23; }
|
||||
|
Reference in New Issue
Block a user