diff --git a/modules/doc/application/views/scripts/style/guide.phtml b/modules/doc/application/views/scripts/style/guide.phtml
index 3cfcc1ca95..1e2bae6635 100644
--- a/modules/doc/application/views/scripts/style/guide.phtml
+++ b/modules/doc/application/views/scripts/style/guide.phtml
@@ -2,7 +2,7 @@
= $this->tabs ?>
-
+
Header h1
Header h2
Header h3
diff --git a/modules/doc/public/js/module.js b/modules/doc/public/js/module.js
new file mode 100644
index 0000000000..c33e35ecf2
--- /dev/null
+++ b/modules/doc/public/js/module.js
@@ -0,0 +1,29 @@
+
+(function(Icinga) {
+
+ var Doc = function(module) {
+ this.module = module;
+ this.initialize();
+ this.module.icinga.logger.debug('Doc module loaded');
+ };
+
+ Doc.prototype = {
+
+ initialize: function()
+ {
+ this.module.on('rendered', this.rendered);
+ this.module.icinga.logger.debug('Doc module initialized');
+ },
+
+ rendered: function(event) {
+ var $container = $(event.currentTarget);
+ if ($('> .content.styleguide', $container).length) {
+ $container.removeClass('module-doc');
+ }
+ }
+ };
+
+ Icinga.availableModules.doc = Doc;
+
+}(Icinga));
+