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) {
|
translate: function(sel) {
|
||||||
var $this = this;
|
var $this = this;
|
||||||
var sel = sel || '[data-sw-translate]';
|
sel = sel || '[data-sw-translate]';
|
||||||
|
|
||||||
$(sel).each(function() {
|
$(sel).each(function() {
|
||||||
$(this).html($this._tryTranslate($(this).html()));
|
$(this).html($this._tryTranslate($(this).html()));
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ window.SwaggerTranslator = {
|
|||||||
|
|
||||||
translate: function(sel) {
|
translate: function(sel) {
|
||||||
var $this = this;
|
var $this = this;
|
||||||
var sel = sel || '[data-sw-translate]';
|
sel = sel || '[data-sw-translate]';
|
||||||
|
|
||||||
$(sel).each(function() {
|
$(sel).each(function() {
|
||||||
$(this).html($this._tryTranslate($(this).html()));
|
$(this).html($this._tryTranslate($(this).html()));
|
||||||
|
|||||||
Reference in New Issue
Block a user