Skip to content

Commit

Permalink
[build] /static
Browse files Browse the repository at this point in the history
  • Loading branch information
return42 committed Nov 23, 2021
1 parent f3fb37a commit b3f1fbe
Show file tree
Hide file tree
Showing 6 changed files with 170 additions and 170 deletions.
6 changes: 3 additions & 3 deletions searx/static/themes/oscar/js/searxng.js
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ $(document).ready(function(){
*/

(function (w, d) {
function ImageLayout(container_selector, results_selector, img_selector, verticalMargin, horizontalMargin, maxHeight) {
function ImageLayout (container_selector, results_selector, img_selector, verticalMargin, horizontalMargin, maxHeight) {
this.container_selector = container_selector;
this.results_selector = results_selector;
this.img_selector = img_selector;
Expand Down Expand Up @@ -365,7 +365,7 @@ $(document).ready(function(){
}
}

return (width - images.length * this.verticalMargin) / r; //have to round down because Firefox will automatically roundup value with number of decimals > 3
return (width - images.length * this.verticalMargin) / r; // have to round down because Firefox will automatically roundup value with number of decimals > 3
};

ImageLayout.prototype._setSize = function (images, height) {
Expand Down Expand Up @@ -455,7 +455,7 @@ $(document).ready(function(){
var results_nodes = d.querySelectorAll(this.results_selector);
var results_length = results_nodes.length;

function throttleAlign() {
function throttleAlign () {
if (obj.isAlignDone) {
obj.isAlignDone = false;
setTimeout(function () {
Expand Down
2 changes: 1 addition & 1 deletion searx/static/themes/oscar/js/searxng.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b3f1fbe

Please sign in to comment.