From beaf98bbef9d16a465e7828d03c5fdc78f04f143 Mon Sep 17 00:00:00 2001 From: f Date: Thu, 17 May 2018 15:18:59 -0300 Subject: [PATCH] no intentar reordenar la tabla si no es reordenable --- app/views/posts/index.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/posts/index.haml b/app/views/posts/index.haml index 7869e38..ff1727b 100644 --- a/app/views/posts/index.haml +++ b/app/views/posts/index.haml @@ -62,7 +62,7 @@ data: { dismiss: 'alert' }, 'aria-label': t('help.close') } %span{'aria-hidden': true} × - %table.table.table-condensed.table-striped.table-draggable + %table.table.table-condensed.table-striped{class: (@site.ordered? @lang) ? 'table-draggable' : ''} %tbody - @posts.each_with_index do |post, i| - if @category