aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template/forum_fn.js
diff options
context:
space:
mode:
authorCesar G <prototech91@gmail.com>2014-05-29 18:07:27 -0700
committerCesar G <prototech91@gmail.com>2014-06-14 09:54:16 -0700
commitedd9c0e06405a08efb1e2153b21f71beb1ea4294 (patch)
tree0d2e231a526a0b83b7b0184fdc79da9a1580f29d /phpBB/styles/prosilver/template/forum_fn.js
parentdef39a670b65a8075ed46afa4956d1d61193a408 (diff)
downloadforums-edd9c0e06405a08efb1e2153b21f71beb1ea4294.tar
forums-edd9c0e06405a08efb1e2153b21f71beb1ea4294.tar.gz
forums-edd9c0e06405a08efb1e2153b21f71beb1ea4294.tar.bz2
forums-edd9c0e06405a08efb1e2153b21f71beb1ea4294.tar.xz
forums-edd9c0e06405a08efb1e2153b21f71beb1ea4294.zip
[ticket/12553] Open the notification dropdown to the left.
PHPBB3-12553
Diffstat (limited to 'phpBB/styles/prosilver/template/forum_fn.js')
-rw-r--r--phpBB/styles/prosilver/template/forum_fn.js33
1 files changed, 0 insertions, 33 deletions
diff --git a/phpBB/styles/prosilver/template/forum_fn.js b/phpBB/styles/prosilver/template/forum_fn.js
index fa838fde19..9d4417154f 100644
--- a/phpBB/styles/prosilver/template/forum_fn.js
+++ b/phpBB/styles/prosilver/template/forum_fn.js
@@ -368,39 +368,6 @@ function parse_document(container)
});
/**
- * Dropdowns
- */
- container.find('.dropdown-container').each(function() {
- var $this = $(this),
- trigger = $this.find('.dropdown-trigger:first'),
- contents = $this.find('.dropdown'),
- options = {
- direction: 'auto',
- verticalDirection: 'auto'
- },
- data;
-
- if (!trigger.length) {
- data = $this.attr('data-dropdown-trigger');
- trigger = data ? $this.children(data) : $this.children('a:first');
- }
-
- if (!contents.length) {
- data = $this.attr('data-dropdown-contents');
- contents = data ? $this.children(data) : $this.children('div:first');
- }
-
- if (!trigger.length || !contents.length) return;
-
- if ($this.hasClass('dropdown-up')) options.verticalDirection = 'up';
- if ($this.hasClass('dropdown-down')) options.verticalDirection = 'down';
- if ($this.hasClass('dropdown-left')) options.direction = 'left';
- if ($this.hasClass('dropdown-right')) options.direction = 'right';
-
- phpbb.registerDropdown(trigger, contents, options);
- });
-
- /**
* Adjust HTML code for IE8 and older versions
*/
if (oldBrowser) {