diff --git a/core/modules/shortcut/shortcut.admin.js b/core/modules/shortcut/shortcut.admin.js
index dacae3e8f4b3fb0958759a52a9a61f98fc43ea39..dd77ce64cd9c9842249f46abf4558d3aa47e59ec 100644
--- a/core/modules/shortcut/shortcut.admin.js
+++ b/core/modules/shortcut/shortcut.admin.js
@@ -52,7 +52,7 @@ Drupal.behaviors.shortcutDrag = {
             // the tableDrag system. However, the row that swapped with it
             // has moved to the "disabled" section, so we need to force its
             // status to be disabled and mark it also as changed.
-            var changedRowObject = new tableDrag.row(changedRow, 'mouse', self.indentEnabled, self.maxDepth, true);
+            var changedRowObject = new tableDrag.row(changedRow, 'mouse', this.indentEnabled, this.maxDepth, true);
             changedRowObject.markChanged();
             tableDrag.rowStatusChange(changedRowObject);
           }