mirror of
https://github.com/joomla/joomla-cms.git
synced 2024-06-16 09:02:52 +00:00
[4.1] s/toogle/toggle
Note there is a change in js here as well
This commit is contained in:
parent
33d80d2ace
commit
450f239ee6
|
@ -29,7 +29,7 @@ $options = [
|
|||
'id' => $this->referenceId,
|
||||
];
|
||||
?>
|
||||
<button id="toogle-left-panel" class="btn btn-sm btn-secondary"
|
||||
<button id="toggle-left-panel" class="btn btn-sm btn-secondary"
|
||||
data-show-reference="<?php echo Text::_('COM_ASSOCIATIONS_EDIT_SHOW_REFERENCE'); ?>"
|
||||
data-hide-reference="<?php echo Text::_('COM_ASSOCIATIONS_EDIT_HIDE_REFERENCE'); ?>"><?php echo Text::_('COM_ASSOCIATIONS_EDIT_HIDE_REFERENCE'); ?>
|
||||
</button>
|
||||
|
|
|
@ -89,7 +89,7 @@ jQuery(document).ready(function($) {
|
|||
};
|
||||
|
||||
// Attach behaviour to toggle button.
|
||||
$(document).on('click', '#toogle-left-panel', function() {
|
||||
$(document).on('click', '#toggle-left-panel', function() {
|
||||
var referenceHide = this.getAttribute('data-hide-reference');
|
||||
var referenceShow = this.getAttribute('data-show-reference');
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user