Skip to content

Commit

Permalink
Merge branch '0.7.2-fixes'
Browse files Browse the repository at this point in the history
  • Loading branch information
lfoppiano committed Feb 20, 2023
2 parents 4eb47c7 + 6390594 commit 3ca454e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RUN apt-get update && \

WORKDIR /opt/grobid-source

RUN git clone --depth 1 --branch master https://github.com/kermitt2/grobid-quantities.git ./grobid-quantities && \
RUN git clone --depth 1 --branch 0.7.2-fixes https://github.com/kermitt2/grobid-quantities.git ./grobid-quantities && \
cd grobid-quantities

WORKDIR /opt/grobid-source/grobid-quantities
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=0.7.3-SNAPSHOT
version=0.7.3-SNAPSHOT
4 changes: 2 additions & 2 deletions src/main/resources/web/grobid/grobid-quantities.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ var grobid = (function ($) {
let locaBase = $(location).attr('href');
if (locaBase.indexOf("index.html") != -1)
baseUrl = locaBase.replace("index.html", ext);
else if (localBase.indexOf("?") != -1) {
else if (locaBase.indexOf("?") != -1) {
// remove possible uri parameters
baseUrl = localBase.substring(0,localBase.indexOf("?")) + ext;
baseUrl = locaBase.substring(0,locaBase.indexOf("?")) + ext;
} else {
baseUrl = locaBase + ext;
}
Expand Down

0 comments on commit 3ca454e

Please sign in to comment.