1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 11:13:59 +02:00

[ticket/11795] Remove PM popup

PHPBB3-11795
This commit is contained in:
Vjacheslav Trushkin
2013-09-06 10:17:10 +03:00
parent 973f4bc887
commit d27bc857f3
3 changed files with 1 additions and 14 deletions

View File

@@ -425,12 +425,6 @@ function insert_single_user(formId, user)
jumpto($(this));
});
// PM popup
$('body[data-popup-pm-url]').each(function() {
var url = this.getAttribute('data-popup-pm-url');
window.open(url.replace(/&/g, '&'), '_phpbbprivmsg', 'height=225,resizable=yes,scrollbars=yes, width=400');
});
// Adjust HTML code for IE8 and older versions
var test = document.createElement('div'),
oldBrowser = (typeof test.style.borderRadius == 'undefined');