Skip to content

Commit

Permalink
v7.1.2
Browse files Browse the repository at this point in the history
Fix update dialog styling.
  • Loading branch information
saschaheim committed May 5, 2021
1 parent 4ae06a4 commit c6011c7
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 26 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [instantgram] v7.1.1
# [instantgram] v7.1.2
![GitHub release](https://img.shields.io/badge/release-v7.0.0-blue)

![badge](https://img.shields.io/badge/for-instagram-yellow.svg?style=flat-square)
Expand Down Expand Up @@ -37,6 +37,7 @@ With this version we support all modern browsers that have ECMAScript 2015 (es6)
Read [CONTRIBUTING.md](CONTRIBUTING.md) for more information. :heart:

## Changelog
- v7.1.2 - [instangram] Fix update dialog styling.
- v7.1.1 - [instangram] Fix video download on some situations.
- v7.1.0 - [instangram] Re-design update dialog.
- v7.0.1 - [instangram] Fix update handler.
Expand Down
2 changes: 1 addition & 1 deletion dist/main.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions lang/de-de/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions lang/en-us/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions lang/pt-br/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "instantgram",
"version": "7.1.1",
"version": "7.1.2",
"description": "A bookmarklet for download photos in Instagram",
"main": "src/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/_langs/partials/button.html

Large diffs are not rendered by default.

23 changes: 9 additions & 14 deletions src/modules/update.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ function update(localVersion) {
}))

console.info(localize('modules.update@determineIfGetUpdateIsNecessary_updated'))
console.log(data)

// if instagram post had a update, notify in console and in a modal
if (isSemVer(onlineVersion, '> ' + localVersion)) {
Expand All @@ -67,19 +66,15 @@ function update(localVersion) {
"<div style='margin:0;text-align:center'><div style='border: 2px solid rgb(0 0 0 / 70%);border-left: none;border-right: none;border-top: none;padding: 5px;font-variant: small-caps;font-weight: 900;font-size: 16px;'>" + localize('modules.update@determineIfGetUpdateIsNecessary_@update_available') + "</div>" +
"<br/>" +
"<br/>" +

"<div style='text-align:left'>" +
"<h2 style='font-weight: bold;'>Changelog</h2>" +

changelog.split('Changelog ')[1] +

"</div>" +
"<br/>" +

"<a href='http://thinkbig-company.github.io/instantgram' target='_blank' onmouseover='this.style.textDecoration='underline'' onmouseout='this.style.textDecoration='initial'' style='text-decoration: initial; margin: 0px auto; padding: 5px; color: black; border-style: solid; border-image-slice: 1; border-width: 3px; border-image-source: linear-gradient(to left, rgb(213, 58, 157), rgb(116, 58, 213));'>" + localize('modules.update@determineIfGetUpdateIsNecessary_@load_update') + "</a>" +
"<br/>" +

"</div>" +
"<div style='text-align:left'>" +
"<h2 style='font-weight: bold;'>Changelog</h2>" +
changelog.split('Changelog ')[1] +
"</div>" +
"<br/>" +
"<a href='http://thinkbig-company.github.io/instantgram' target='_blank' onmouseover='this.style.textDecoration='underline'' onmouseout='this.style.textDecoration='initial'' style='text-decoration: initial; margin: 0px auto; padding: 5px; color: black; border-style: solid; border-image-slice: 1; border-width: 3px; border-image-source: linear-gradient(to left, rgb(213, 58, 157), rgb(116, 58, 213));'>" + localize('modules.update@determineIfGetUpdateIsNecessary_@load_update') + "</a>" +
"<br/>" +
"</div>" +
"</div>" +
"<div class='footer' style='display:block;bottom:0;background:#efefef;width:100%;left:0;padding:10px;box-sizing:border-box;margin:0;text-align:right;'>" +
"<button class='ok' style='width:50px;cursor:pointer;'>Ok</button>" +
"</div>"
Expand Down

0 comments on commit c6011c7

Please sign in to comment.