diff --git a/grid-n-view.js b/grid-n-view.js index cf458d5..5a12b0a 100644 --- a/grid-n-view.js +++ b/grid-n-view.js @@ -7,7 +7,6 @@ // - make the gallery into a web component // // -// //===================================================================== @@ -17,7 +16,7 @@ // This compansates for any resize rounding errors in patchFlexRows(..). var PATCH_MARGIN = 2 -var patchFlexRows = +ar patchFlexRows = function(elems, prevent_row_expansion=false, last_row_resize=1.5, @@ -592,13 +591,7 @@ var Gallery = { get urls(){ return this.images .map(function(img){ - // XXX not sure if we should remove the preview dir... return img.src }) }, - /*/ - return img.src - // remove preview dir... - .replace(/\/[0-9]+px\//, '/') }) }, - //*/ get marked(){ return [...this.dom.querySelectorAll('.images img.marked')] },