aboutsummaryrefslogtreecommitdiff
path: root/js/lib
diff options
context:
space:
mode:
Diffstat (limited to 'js/lib')
-rw-r--r--js/lib/ui.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/ui.js b/js/lib/ui.js
index 85ca8caf1..692311d73 100644
--- a/js/lib/ui.js
+++ b/js/lib/ui.js
@@ -221,7 +221,7 @@ elgg.ui.initHoverMenu = function(parent) {
* @return void
*/
elgg.ui.requiresConfirmation = function(e) {
- var confirmText = $(this).attr('title') || elgg.echo('question:areyousure');
+ var confirmText = $(this).attr('rel') || elgg.echo('question:areyousure');
if (!confirm(confirmText)) {
e.preventDefault();
}