Skip to content

Commit

Permalink
Fix SQL Help on older browsers without string.endsWith().
Browse files Browse the repository at this point in the history
  • Loading branch information
khushboovashi authored and dpage committed Apr 15, 2016
1 parent 7ca939d commit de0864a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/pgadmin/browser/templates/browser/js/node.js
Expand Up @@ -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 != '') {
Expand Down

0 comments on commit de0864a

Please sign in to comment.