summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorshadlaws <shad@shadlaws.com>2013-02-23 21:49:29 +0100
committershadlaws <shad@shadlaws.com>2013-02-23 21:49:29 +0100
commitb52a533a0f1b145f675a920a18b367d3767731d7 (patch)
treea4e75302c561fe4c7b07189608c00a6544cd91fa /modules
parent53e6df0b95e3abf58bf88f84b9d9bc68e25ca9a5 (diff)
#2014 - Clean up gallery.ajax.js.
- prepend "data-" in front of non-standard attr to be more standards compliant. - fix formatting.
Diffstat (limited to 'modules')
-rw-r--r--modules/gallery/views/menu_ajax_link.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/views/menu_ajax_link.html.php b/modules/gallery/views/menu_ajax_link.html.php
index 06cd6f92..66df84c9 100644
--- a/modules/gallery/views/menu_ajax_link.html.php
+++ b/modules/gallery/views/menu_ajax_link.html.php
@@ -4,7 +4,7 @@
class="g-ajax-link <?= $menu->css_class ?>"
href="<?= $menu->url ?>"
title="<?= $menu->label->for_html_attr() ?>"
- ajax_handler="<?= $menu->ajax_handler ?>">
+ data-ajax-handler="<?= $menu->ajax_handler ?>">
<?= $menu->label->for_html() ?>
</a>
</li>