diff options
author | Callum Macrae <callum@lynxphp.com> | 2011-10-15 16:21:40 +0100 |
---|---|---|
committer | Igor Wiedler <igor@wiedler.ch> | 2012-03-31 02:09:18 +0200 |
commit | 3166cbb33d5ce44fff380d53c4c51ba5f6a2224a (patch) | |
tree | bfa58c492fe8610ed3e6cdecea9d7609b7a67979 /phpBB/assets | |
parent | 5b2352613ef8e2bdc4e418b74ea650df825b829c (diff) | |
download | forums-3166cbb33d5ce44fff380d53c4c51ba5f6a2224a.tar forums-3166cbb33d5ce44fff380d53c4c51ba5f6a2224a.tar.gz forums-3166cbb33d5ce44fff380d53c4c51ba5f6a2224a.tar.bz2 forums-3166cbb33d5ce44fff380d53c4c51ba5f6a2224a.tar.xz forums-3166cbb33d5ce44fff380d53c4c51ba5f6a2224a.zip |
[ticket/10270] Replaced find by tag names with class names in the js.
What it was before (selecting by tag name) could have caused some
problems for style authors.
PHPBB3-10270
Diffstat (limited to 'phpBB/assets')
-rw-r--r-- | phpBB/assets/javascript/core.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/assets/javascript/core.js b/phpBB/assets/javascript/core.js index 5a43c0b3cb..22465a040d 100644 --- a/phpBB/assets/javascript/core.js +++ b/phpBB/assets/javascript/core.js @@ -48,8 +48,8 @@ phpbb.loading_alert = function() { */ phpbb.alert = function(title, msg, fadedark) { var div = $('#phpbb_alert'); - div.find('h3').html(title); - div.find('p').html(msg); + div.find('.alert_title').html(title); + div.find('.alert_text').html(msg); div.bind('click', function(e) { e.stopPropagation(); @@ -110,7 +110,7 @@ phpbb.alert = function(title, msg, fadedark) { */ phpbb.confirm = function(msg, callback, fadedark) { var div = $('#phpbb_confirm'); - div.find('p').html(msg); + div.find('.alert_text').html(msg); div.bind('click', function(e) { e.stopPropagation(); |