diff --git a/src/extensions/reorder-columns/bootstrap-table-reorder-columns.js b/src/extensions/reorder-columns/bootstrap-table-reorder-columns.js
index <HASH>..<HASH> 100644
--- a/src/extensions/reorder-columns/bootstrap-table-reorder-columns.js
+++ b/src/extensions/reorder-columns/bootstrap-table-reorder-columns.js
@@ -129,7 +129,9 @@ $.BootstrapTable = class extends $.BootstrapTable {
         })
 
         this.columnsSortOrder = sortOrder
-        this.persistReorderColumnsState(this)
+        if (this.options.cookie) {
+          this.persistReorderColumnsState(this)
+        }
 
         const ths = []
         const formatters = []
only execute that function if the cookie plugin is enabled (#<I>)