MDL-43152 JavaScript: Fix linting issue with navigation JS
This commit is contained in:
+1
-1
@@ -411,7 +411,7 @@ Y.extend(TREE, Y.Base, TREE.prototype, {
|
||||
instance : {
|
||||
value : false,
|
||||
setter : function(val) {
|
||||
return parseInt(val);
|
||||
return parseInt(val, 10);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
blocks/navigation/yui/build/moodle-block_navigation-navigation/moodle-block_navigation-navigation.js
Vendored
+1
-1
@@ -410,7 +410,7 @@ Y.extend(TREE, Y.Base, TREE.prototype, {
|
||||
instance : {
|
||||
value : false,
|
||||
setter : function(val) {
|
||||
return parseInt(val);
|
||||
return parseInt(val, 10);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -409,7 +409,7 @@ Y.extend(TREE, Y.Base, TREE.prototype, {
|
||||
instance : {
|
||||
value : false,
|
||||
setter : function(val) {
|
||||
return parseInt(val);
|
||||
return parseInt(val, 10);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user