mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[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
This commit is contained in:
committed by
Igor Wiedler
parent
5b2352613e
commit
3166cbb33d
@@ -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();
|
||||
|
Reference in New Issue
Block a user