aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohann-S <[email protected]>2019-05-16 14:09:11 +0200
committerJohann-S <[email protected]>2019-05-16 14:44:11 +0200
commit976e825d2696f3d7179cafd260a48f545d8b6c90 (patch)
tree81dd31b30d139e1736b881ca76b18b579aad1bb8
parent759fe255677aea4136f39f33e2797fe270291938 (diff)
downloadbootstrap-976e825d2696f3d7179cafd260a48f545d8b6c90.tar.xz
bootstrap-976e825d2696f3d7179cafd260a48f545d8b6c90.zip
remove jquery references in browsers-devices docs
-rw-r--r--site/content/docs/4.3/getting-started/browsers-devices.md22
1 files changed, 0 insertions, 22 deletions
diff --git a/site/content/docs/4.3/getting-started/browsers-devices.md b/site/content/docs/4.3/getting-started/browsers-devices.md
index 3b6c05ee8..891efe9f3 100644
--- a/site/content/docs/4.3/getting-started/browsers-devices.md
+++ b/site/content/docs/4.3/getting-started/browsers-devices.md
@@ -129,28 +129,6 @@ The `.dropdown-backdrop` element isn't used on iOS in the nav because of the com
Page zooming inevitably presents rendering artifacts in some components, both in Bootstrap and the rest of the web. Depending on the issue, we may be able to fix it (search first and then open an issue if need be). However, we tend to ignore these as they often have no direct solution other than hacky workarounds.
-## Android stock browser
-
-Out of the box, Android 4.1 (and even some newer releases apparently) ship with the Browser app as the default web browser of choice (as opposed to Chrome). Unfortunately, the Browser app has lots of bugs and inconsistencies with CSS in general.
-
-#### Select menu
-
-On `<select>` elements, the Android stock browser will not display the side controls if there is a `border-radius` and/or `border` applied. (See [this StackOverflow question](https://stackoverflow.com/questions/14744437/html-select-box-not-showing-drop-down-arrow-on-android-version-4-0-when-set-with) for details.) Use the snippet of code below to remove the offending CSS and render the `<select>` as an unstyled element on the Android stock browser. The user agent sniffing avoids interference with Chrome, Safari, and Mozilla browsers.
-
-{{< highlight html >}}
-<script>
-$(function () {
- var nua = navigator.userAgent
- var isAndroid = (nua.indexOf('Mozilla/5.0') > -1 && nua.indexOf('Android ') > -1 && nua.indexOf('AppleWebKit') > -1 && nua.indexOf('Chrome') === -1)
- if (isAndroid) {
- $('select.form-control').removeClass('form-control').css('width', '100%')
- }
-})
-</script>
-{{< /highlight >}}
-
-Want to see an example? [Check out this JS Bin demo](http://jsbin.com/OyaqoDO/2).
-
## Validators
In order to provide the best possible experience to old and buggy browsers, Bootstrap uses [CSS browser hacks](http://browserhacks.com/) in several places to target special CSS to certain browser versions in order to work around bugs in the browsers themselves. These hacks understandably cause CSS validators to complain that they are invalid. In a couple places, we also use bleeding-edge CSS features that aren't yet fully standardized, but these are used purely for progressive enhancement.