mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-22 13:22:19 -06:00
[FIX] pylint/javascript-lint
This commit is contained in:
@@ -3,9 +3,9 @@
|
||||
|
||||
// This file contains tweaks for viewerjs itself and is not meant to be run in
|
||||
// OpenERP's context
|
||||
(function(original_Viewer) {
|
||||
window.Viewer = function(plugin, parameters) {
|
||||
if(!plugin) {
|
||||
(function (original_Viewer) {
|
||||
window.Viewer = function (plugin, parameters) {
|
||||
if (!plugin) {
|
||||
// eslint-disable-next-line no-alert
|
||||
alert('Unsupported file type');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user