summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/system.module2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/system/system.module b/modules/system/system.module
index 9e771aa3f..f1d9851d4 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -3634,6 +3634,8 @@ function system_build_contextual_links($element) {
$build = array();
if ($links) {
$build = array(
+ '#prefix' => '<div class="contextual-links-wrapper">',
+ '#suffix' => '</div>',
'#theme' => 'links',
'#links' => $links,
'#attributes' => array('class' => array('contextual-links')),