Skip to content
Snippets Groups Projects
Commit ae342195 authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-5641: fixing notice on context/settings

parent 6e5844cd
No related branches found
No related tags found
No related merge requests found
......@@ -7,12 +7,12 @@
(function ($, Drupal) {
'use strict';
Drupal.behaviors.buttons = {
attach: function (context, settings) {
attach: function () {
// Only show the show/hide button if the user is logged in
//on the "view", "layout", or "latest version" tabs.
// on the "view", "layout", or "latest version" tabs.
// (We have picked elements that should only exist on those pages,
// and only when the user has editing access.
//
$(document).ready(
function () {
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment