small refactor + fix brackets
[fnpeditor.git] / src / editor / plugins / core / footnote.js
index 2fa314a..6c3004f 100644 (file)
@@ -45,7 +45,7 @@ var footnoteAction =  {
         if(!params.fragment || !params.fragment.isValid()) {
             return {allowed: false};
         }
-        if(params.fragment instanceof params.fragment.TextRangeFragment && params.fragment.hasSiblingBoundries()) {
+        if(params.fragment instanceof params.fragment.TextRangeFragment && params.fragment.hasSiblingBoundaries()) {
             return {
                 allowed: true,
                 description: gettext('Create footnote from selection'),