[JavaScript] PopupMenu misplaced
|
Posts: 11
Threads: 3
Joined: Jul 2012
Reputation:
1
2015-11-13, 07:32 AM
(This post was last modified: 2015-11-13, 07:35 AM by moserw.)
(2015-09-09, 11:44 AM)Brentsticles Wrote: I need an explanation on how to implement this fix please if someone would be kind enough as I am having the same issue.
My thread about my problem: http://community.mybb.com/thread-178100.html
- Delete the file jscripts/jquery.plugins.min.js
- Create a copy of jscripts/jquery.plugins.js and name it jscripts/jquery.plugins.min.js
- Open the new file and find the text (it is currently at line number 507)
// Setup popup menu
var offset = el.offset();
offset.top += el.outerHeight();
- Replace the text with
// Setup popup menu
var offset = el.offset();
// WoM fix edit popup menu start
var el_parent = el.get(0).parentNode;
var popup_parent = popup_menu.get(0).parentNode;
if (el_parent === popup_parent)
{
offset = el.position();
}
// WoM fix edit popup menu end
offset.top += el.outerHeight();
- Save the file.
|
Messages In This Thread |
RE: PopupMenu misplaced - by moserw - 2015-11-13, 07:32 AM
|
Users browsing this thread: 1 Guest(s)