[ofbiz-plugins] branch trunk updated: Improved: Change inline style to class for wait-spinner (OFBIZ-12095)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-plugins] branch trunk updated: Improved: Change inline style to class for wait-spinner (OFBIZ-12095)

James Yong-2
This is an automated email from the ASF dual-hosted git repository.

jamesyong pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git


The following commit(s) were added to refs/heads/trunk by this push:
     new d45c377  Improved: Change inline style to class for wait-spinner (OFBIZ-12095)
d45c377 is described below

commit d45c3773397d09b0625662c5a8c32f9b503318cf
Author: James Yong <[hidden email]>
AuthorDate: Sat Dec 19 17:49:08 2020 +0800

    Improved: Change inline style to class for wait-spinner (OFBIZ-12095)
   
    Inline style not encouraged by Content Security Policy
---
 multiflex/template/Header.ftl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/multiflex/template/Header.ftl b/multiflex/template/Header.ftl
index a07de35..a411622 100644
--- a/multiflex/template/Header.ftl
+++ b/multiflex/template/Header.ftl
@@ -20,7 +20,7 @@ under the License.
 <!-- Global IE fix to avoid layout crash when single word size wider than column width -->
 <!--[if IE]><style type="text/css"> body {word-wrap: break-word;}</style><![endif]-->
 
-  <div id="wait-spinner" style="display:none">
+  <div id="wait-spinner" class="hidden">
     <div id="wait-spinner-image"></div>
   </div>
   <div class="container-fluid">