diff options
| author | Marc Alexander <admin@m-a-styles.de> | 2014-04-07 21:27:48 +0200 |
|---|---|---|
| committer | Marc Alexander <admin@m-a-styles.de> | 2014-04-07 21:27:48 +0200 |
| commit | 966a2b4892762f3a1f032089d0b01c97a1d1c2e1 (patch) | |
| tree | f258183522b97560e0eb0d26bce5126f8e53956f /phpBB/styles/prosilver | |
| parent | ad98a070c37a66f773851851888f7e98dc447d92 (diff) | |
| download | forums-966a2b4892762f3a1f032089d0b01c97a1d1c2e1.tar forums-966a2b4892762f3a1f032089d0b01c97a1d1c2e1.tar.gz forums-966a2b4892762f3a1f032089d0b01c97a1d1c2e1.tar.bz2 forums-966a2b4892762f3a1f032089d0b01c97a1d1c2e1.tar.xz forums-966a2b4892762f3a1f032089d0b01c97a1d1c2e1.zip | |
[ticket/12372] Move dE() function core.js
PHPBB3-12372
Diffstat (limited to 'phpBB/styles/prosilver')
| -rw-r--r-- | phpBB/styles/prosilver/template/forum_fn.js | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/phpBB/styles/prosilver/template/forum_fn.js b/phpBB/styles/prosilver/template/forum_fn.js index 7d114d9593..96f665492d 100644 --- a/phpBB/styles/prosilver/template/forum_fn.js +++ b/phpBB/styles/prosilver/template/forum_fn.js @@ -92,27 +92,6 @@ function viewableArea(e, itself) { } /** -* Set display of page element -* -* @param string id The ID of the element to change -* @param int action Set to 0 if element display should be toggled, -1 for -* hiding the element, and 1 for showing it. -* @param string type Display type that should be used, e.g. inline, block or -* other CSS "display" types -*/ -function dE(id, action, type) { - if (!type) { - type = 'block'; - } - - var display = jQuery('#' + id).css('display'); - if (!action) { - action = (display === '' || display === type) ? -1 : 1; - } - jQuery('#' + id).css('display', ((action === 1) ? type : 'none')); -} - -/** * Alternate display of subPanels */ jQuery(document).ready(function() { |
