couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertkowal...@apache.org
Subject [2/6] fauxton commit: updated refs/heads/import-master to 2d2cc24
Date Mon, 14 Jul 2014 21:21:38 GMT
remove unused configuration for resizable container


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/f4c64b06
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/f4c64b06
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/f4c64b06

Branch: refs/heads/import-master
Commit: f4c64b0660b4b0ae48233d998963737b8dfc40fa
Parents: 919442c
Author: Robert Kowalski <rok@kowalski.gd>
Authored: Thu May 29 21:09:45 2014 +0200
Committer: Alexander Shorin <kxepal@apache.org>
Committed: Mon Jul 14 12:39:06 2014 +0400

----------------------------------------------------------------------
 app/addons/fauxton/resizeColumns.js | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/f4c64b06/app/addons/fauxton/resizeColumns.js
----------------------------------------------------------------------
diff --git a/app/addons/fauxton/resizeColumns.js b/app/addons/fauxton/resizeColumns.js
index b2c938c..c1c96c5 100644
--- a/app/addons/fauxton/resizeColumns.js
+++ b/app/addons/fauxton/resizeColumns.js
@@ -25,7 +25,6 @@ function(FauxtonAPI) {
 
   var Resize = function(options){
     this.options = options;
-    this.options.selectorElements = options.selectorElements || ".window-resizeable";
   };
 
   Resize.prototype = {
@@ -49,7 +48,6 @@ function(FauxtonAPI) {
     updateOptions:function(options){
       this.options = {};
       this.options = options;
-      this.options.selectorElements = options.selectorElements || ".window-resizeable";
     },
     turnOff:function(){
       FauxtonAPI.utils.removeWindowResize("animation");
@@ -74,7 +72,7 @@ function(FauxtonAPI) {
           panelWidth = 1400;
         }
 
-        $(this.options.selectorElements).innerWidth(panelWidth);
+        $('.window-resizeable').innerWidth(panelWidth);
 
       }
       //if there is a callback, run that


Mime
View raw message