mirror of
https://github.com/a2nt/webpack-bootstrap-ui-kit.git
synced 2024-10-22 11:05:45 +02:00
FIX: AJAX GOBACK loop
This commit is contained in:
parent
5f93572a06
commit
c39267f6aa
2
dist/js/app.js
vendored
2
dist/js/app.js
vendored
File diff suppressed because one or more lines are too long
2
dist/js/app.js.map
vendored
2
dist/js/app.js.map
vendored
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@a2nt/ss-bootstrap-ui-webpack-boilerplate",
|
||||
"version": "2.6.2",
|
||||
"version": "2.6.3",
|
||||
"author": "Tony Air <tony@twma.pro>",
|
||||
"license": "MIT",
|
||||
"description": "This UI Kit allows you to build Bootstrap 4 webapp with some extra UI features. It's easy to extend and easy to convert HTML templates to CMS templates.",
|
||||
|
@ -258,7 +258,7 @@ const AjaxUI = (($) => {
|
||||
} else if ($existingLink.length && $existingLink.hasClass('ajax')) {
|
||||
console.log(`${NAME}: GOBACK (AJAX link)`);
|
||||
$existingLink.trigger('click');
|
||||
} else {
|
||||
} else if (D.location.href !== G.location.href) {
|
||||
console.log(`${NAME}: GOBACK (HTTP)`);
|
||||
G.location.href = D.location;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user