mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix SQL Help on older browsers without string.endsWith().
This commit is contained in:
parent
7ca939dcaf
commit
de0864a92c
@ -731,7 +731,7 @@ function($, _, S, pgAdmin, Menu, Backbone, Alertify, pgBrowser, Backform) {
|
||||
minor = Math.floor(server.version / 100) - (major * 100)
|
||||
|
||||
url = url.replace('$VERSION$', major + '.' + minor)
|
||||
if (!url.endsWith('/')) {
|
||||
if (!S(url).endsWith('/')) {
|
||||
url = url + '/'
|
||||
}
|
||||
if (that.sqlCreateHelp == '' && that.sqlAlterHelp != '') {
|
||||
|
Loading…
Reference in New Issue
Block a user