fix lint issue
This commit is contained in:
2
dist/lang/translator.js
vendored
2
dist/lang/translator.js
vendored
@@ -19,7 +19,7 @@ window.SwaggerTranslator = {
|
||||
|
||||
translate: function(sel) {
|
||||
var $this = this;
|
||||
var sel = sel || '[data-sw-translate]';
|
||||
sel = sel || '[data-sw-translate]';
|
||||
|
||||
$(sel).each(function() {
|
||||
$(this).html($this._tryTranslate($(this).html()));
|
||||
|
||||
@@ -19,7 +19,7 @@ window.SwaggerTranslator = {
|
||||
|
||||
translate: function(sel) {
|
||||
var $this = this;
|
||||
var sel = sel || '[data-sw-translate]';
|
||||
sel = sel || '[data-sw-translate]';
|
||||
|
||||
$(sel).each(function() {
|
||||
$(this).html($this._tryTranslate($(this).html()));
|
||||
|
||||
Reference in New Issue
Block a user