diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-05-23 18:23:32 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-05-23 18:23:32 +0000 |
commit | 5d4fa6f72511d4a3948d5527f9202d6cd2aa137f (patch) | |
tree | 26a6315935314e47760ac7e221f6b22e2defd5e9 /misc/drupal.js | |
parent | 8ce167452b30e5cfe10a4e39763425e1aac1a96f (diff) | |
download | brdo-5d4fa6f72511d4a3948d5527f9202d6cd2aa137f.tar.gz brdo-5d4fa6f72511d4a3948d5527f9202d6cd2aa137f.tar.bz2 |
- Rollback of #787940.
Diffstat (limited to 'misc/drupal.js')
-rw-r--r-- | misc/drupal.js | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/misc/drupal.js b/misc/drupal.js index 9d7ec8089..d6f7597c3 100644 --- a/misc/drupal.js +++ b/misc/drupal.js @@ -300,24 +300,6 @@ Drupal.getSelection = function (element) { }; /** - * Checks if position:fixed is supported. - * - * @return - * Boolean indicating whether or not position:fixed is supported. - * - * @see http://yura.thinkweb2.com/cft/#IS_POSITION_FIXED_SUPPORTED - */ -Drupal.positionFixedSupported = function () { - if (this._positionFixedSupported === undefined) { - var el = $('<div style="position:fixed; top:10px" />').appendTo(document.body); - this._positionFixedSupported = el[0].offsetTop === 10; - el.remove(); - } - - return this._positionFixedSupported; -}; - -/** * Build an error message from an AJAX response. */ Drupal.ajaxError = function (xmlhttp, uri) { |